llvm-project/clang/lib/Parse
Alp Toker f2b6e79393 Fix crash when both ExpectAndConsume and ConsumeAnyToken emit diagnostics
The DiagnosticBuilder's lifetime in parser typo recovery was overlapping with
the subsequent consume which can itself emit PP diagnostics.

Patch by Olivier Goffart!

llvm-svn: 201965
2014-02-23 03:45:03 +00:00
..
CMakeLists.txt [CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_TABLEGEN_TARGETS. 2014-02-21 07:59:59 +00:00
Makefile
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 Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
ParseDecl.cpp Do not add enums to prototype scope in C++ modes. 2014-02-22 03:05:49 +00:00
ParseDeclCXX.cpp PR18870: Parse language linkage specifiers properly if the string-literal is 2014-02-17 23:25:27 +00:00
ParseExpr.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
ParseExprCXX.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
ParseInit.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseObjc.cpp ExpectAndConsume: Diagnose errors automatically 2014-01-01 03:08:43 +00:00
ParseOpenMP.cpp [OPENMP] 'if' clause support (no CodeGen support) 2014-02-13 05:29:23 +00:00
ParsePragma.cpp Revert the removal of PPCallbacks::PragmaComment() in r201821 2014-02-20 23:37:45 +00:00
ParseStmt.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
ParseTemplate.cpp Introduce and use Decl::getAsFunction() to simplify templated function checks 2014-01-22 07:29:52 +00:00
ParseTentative.cpp TryConsume parser cleanups 2014-01-10 11:19:30 +00:00
Parser.cpp Fix crash when both ExpectAndConsume and ConsumeAnyToken emit diagnostics 2014-02-23 03:45:03 +00:00
RAIIObjectsForParser.h ExpectAndConsume: Diagnose errors automatically 2014-01-01 03:08:43 +00:00