]> granicus.if.org Git - clang/commit
Don't use the implicit int rule for error recovery in C++. Instead, try to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 May 2012 21:01:51 +0000 (21:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 15 May 2012 21:01:51 +0000 (21:01 +0000)
commit827adaff666e53ae2f2db994bcd62ebe1ff5b9ce
treecf9d47a7695bff9864f37b935fd0fda82fe7d7f7
parent04e326b3d0ae1a84643b7366ce0ea5137e06ed69
Don't use the implicit int rule for error recovery in C++. Instead, try to
disambiguate whether the type name was forgotten or mistyped.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/CXX/class/class.mem/p14.cpp
test/Parser/cxx-undeclared-identifier.cpp
test/SemaCXX/typo-correction.cpp