llvm-project/clang/lib
Benjamin Kramer 8484a326fb [ASTUnit] Clear out diagnostic state after creating the preamble.
If the preamble had diagnostic state this would leave behind invalid
state in the DiagnosticsEngine and crash later. The test case runs into
an assertion in DiagnosticsEngine::setSourceManager.

llvm-svn: 294963
2017-02-13 16:16:43 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST [coroutines] NFC: Refactor Sema::CoroutineBodyStmt construction. 2017-02-13 05:05:02 +00:00
ASTMatchers Move VariantMatcher's Payload to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 18:51:54 +00:00
Analysis Make helpers static. NFC. 2017-02-11 12:21:17 +00:00
Basic [AVR] Fix __AVR_xxx macro definitions; authored by Peter Wu 2017-02-11 21:06:07 +00:00
CodeGen [PM] Add support for instrumented PGO in the new pass manager (clang-side) 2017-02-13 16:07:05 +00:00
Driver [Driver] Use stem() and not filename(). 2017-02-11 23:44:37 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format clang-format: don't break code using __has_include, PR31908 2017-02-10 19:36:52 +00:00
Frontend [ASTUnit] Clear out diagnostic state after creating the preamble. 2017-02-13 16:16:43 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [MS] Implement the __fastfail intrinsic as a builtin 2017-02-09 18:31:06 +00:00
Index [index] Provide a more general index::generateUSRForMacro() that doesn't depend on having a PreprocessingRecord. 2017-02-02 16:13:10 +00:00
Lex Fix modules codegen to be compatible with modules-ts 2017-01-31 21:28:19 +00:00
Parse Diagnose attempts to explicitly instantiate a template at class scope. Previously Clang would simply ignore the 'template' keyword in this case. 2017-02-09 22:14:25 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [coroutines] NFC: Refactor Sema::CoroutineBodyStmt construction. 2017-02-13 05:05:02 +00:00
Serialization ASTReader: Refactor common code for writing function definitions, to match the writing code 2017-02-12 18:45:31 +00:00
StaticAnalyzer [analyzer] Fix an assertion fail in CStringSyntaxChecker. 2017-02-02 08:20:54 +00:00
Tooling clang-format: Make GetStyle return Expected<FormatStyle> instead of FormatStyle 2017-01-17 00:12:27 +00:00
CMakeLists.txt