diff options
| author | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-01-11 14:34:39 +0000 |
|---|---|---|
| committer | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-01-11 14:34:39 +0000 |
| commit | 601e6e894c2a38243588b375bed0b9a9e60060bb (patch) | |
| tree | d8c81f9a94b9b9a5ba6f5a7418998d24b29516c9 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 7d19bc2c8882457e833dfe9741ac5a4a7198e46f (diff) | |
| download | clang-601e6e894c2a38243588b375bed0b9a9e60060bb.tar.gz clang-601e6e894c2a38243588b375bed0b9a9e60060bb.tar.bz2 clang-601e6e894c2a38243588b375bed0b9a9e60060bb.tar.xz | |
Fixed an assertion failure triggered by invalid code.
Set invalid type of declarator after emitting error diagnostics,
so that it won't be later considered when instantiating the template.
Added test5_inst in test/SemaCXX/condition.cpp for non-regression.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
