commit | 601e6e894c2a38243588b375bed0b9a9e60060bb | [log] [tgz] |
---|---|---|
author | Enea Zaffanella <zaffanella@cs.unipr.it> | Fri Jan 11 14:34:39 2013 +0000 |
committer | Enea Zaffanella <zaffanella@cs.unipr.it> | Fri Jan 11 14:34:39 2013 +0000 |
tree | d8c81f9a94b9b9a5ba6f5a7418998d24b29516c9 | |
parent | 7d19bc2c8882457e833dfe9741ac5a4a7198e46f [diff] |
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