llvm-project/clang/lib/Parse
Serge Pavlov 2e3ecb660a Recover from errors in enum definition
Previously any error in enum definition body stopped parsing it. With this
change parser tries to recover from errors.
The patch fixes PR10982.

Differential Revision: http://llvm-reviews.chandlerc.com/D2018

llvm-svn: 198259
2013-12-31 06:26:03 +00:00
..
CMakeLists.txt [CMake] clang/lib: Satisfy dependencies to add *actually used* libraries on target_link_libraries() and LLVM_LINK_COMPONENTS. 2013-12-09 19:04:43 +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 Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily. 2013-07-04 03:08:24 +00:00
ParseCXXInlineMethods.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseDecl.cpp Recover from errors in enum definition 2013-12-31 06:26:03 +00:00
ParseDeclCXX.cpp Switch over more of the parser to err_expected 2013-12-30 23:29:50 +00:00
ParseExpr.cpp Switch over more of the parser to err_expected 2013-12-30 23:29:50 +00:00
ParseExprCXX.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseInit.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseObjc.cpp Switch over more of the parser to err_expected 2013-12-30 23:29:50 +00:00
ParseOpenMP.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParsePragma.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParsePragma.h Adding support for MSVC #pragma detect_mismatch functionality by emitting a FAILIFMISMATCH linker command into the object file. 2013-06-04 02:07:14 +00:00
ParseStmt.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseTemplate.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseTentative.cpp Remove OpenCL-specific type keywords and specifiers 2013-12-18 15:29:05 +00:00
Parser.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
RAIIObjectsForParser.h Revert "[OPENMP] Fix for parsing OpenMP directives with extra braces, brackets and parens" 2013-12-18 19:10:49 +00:00