llvm-project/clang/lib/Parse
Serge Pavlov 458ea76041 Improve error recovery around colon.
Recognize additional cases, when '::' is mistyped as ':'.
This is a fix to RP18587 - colons have too much protection in member-declarations
Review is tracked by http://reviews.llvm.org/D3653.

This is an attempt to recommit the fix, initially committed as r212957 but then
reverted in r212965 as it broke self-build. In the updated patch ParseDirectDeclarator
turns on colon protection in for context as well.

llvm-svn: 213120
2014-07-16 05:16:52 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseCXXInlineMethods.cpp Refactoring. Remove release and take methods from ActionResult. Rename takeAs to getAs. 2014-05-29 10:55:11 +00:00
ParseDecl.cpp Improve error recovery around colon. 2014-07-16 05:16:52 +00:00
ParseDeclCXX.cpp Improve error recovery around colon. 2014-07-16 05:16:52 +00:00
ParseExpr.cpp PR19751: (T())++ is not a cast-expression. 2014-07-15 00:11:48 +00:00
ParseExprCXX.cpp PR19751: (T())++ is not a cast-expression. 2014-07-15 00:11:48 +00:00
ParseInit.cpp Refactoring. Remove release and take methods from ActionResult. Rename takeAs to getAs. 2014-05-29 10:55:11 +00:00
ParseObjc.cpp Objective-C. When we use @selector(save:), etc. there may be more 2014-06-24 17:02:19 +00:00
ParseOpenMP.cpp [OPENMP] Parsing and sema analysis for 'omp task' directive. 2014-07-11 11:25:16 +00:00
ParsePragma.cpp Fix PR20069: bad loop pragma arguments crash FE 2014-06-19 18:30:15 +00:00
ParseStmt.cpp Sema: Check that __leave is contained in a __try block. 2014-07-06 22:53:19 +00:00
ParseStmtAsm.cpp Don't get confused on the number of braces when braces start after the first __asm 2014-07-15 02:21:41 +00:00
ParseTemplate.cpp Fix PR20081: Parsing templates in the presence of -x cuda -std=c++11 2014-06-20 13:09:59 +00:00
ParseTentative.cpp Replace a fake enum class with the real thing. 2014-05-16 01:56:53 +00:00
Parser.cpp [C++11] Use 'nullptr'. Parser edition. 2014-05-21 06:02:52 +00:00
RAIIObjectsForParser.h [C++11] Use 'nullptr'. Parser edition. 2014-05-21 06:02:52 +00:00