summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-undeclared-identifier.cpp
Commit message (Collapse)AuthorAgeFilesLines
* In C++, if we hit an error in the class-head, don't try to parse the class body.Richard Smith2012-12-051-2/+0
| | | | | | | Our error recovery path may have made the class anonymous, and that has a pretty disastrous impact on any attempt to parse a class body containing constructors. llvm-svn: 169374
* Don't use the implicit int rule for error recovery in C++. Instead, try toRichard Smith2012-05-151-0/+12
| | | | | | disambiguate whether the type name was forgotten or mistyped. llvm-svn: 156854
* Fix PR7180.Argyrios Kyrtzidis2010-06-221-0/+3
| | | | | | | | | | | For void f( a::b::c ); we would cache the tokens "a::b::" but then we would try to annotate them using the range "a::". Before annotating them with the (invalid) C++ scope spec, set it to the range of "a::b::". llvm-svn: 106536
* Patch to fix a crash on incomplete class declaration.Fariborz Jahanian2010-05-141-0/+6
Radar 7923673. llvm-svn: 103812
OpenPOWER on IntegriCloud