llvm-project/clang/unittests
Jan Svoboda 8dc76ab799 [clang][tooling] Properly initialize DiagnosticsEngine for cc1 command-line construction
In `ToolInvocation::run`, the driver -> cc1 command-line transformation uses `DiagnosticsEngine` that wasn't completely initialized. This patch ensures `ProcessWarningOptions(DiagnosticsEngine&, const DiagnosticOptions &)` is called.

Depends on D108982.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D108974
2021-09-10 13:54:24 +02:00
..
AST [clang][AST] Add support for SubstTemplateTypeParmPackType to ASTImporter 2021-09-04 10:19:57 +02:00
ASTMatchers Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Analysis Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Basic VFS: Document goals of 'use-external-name' and related logic, NFC 2021-09-01 15:55:33 -04:00
CodeGen [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [clang][Driver] Pick the last --driver-mode in case of multiple ones 2021-09-07 15:33:45 +02:00
Format [clang-format] Add PackConstructorInitializers backward compat test 2021-08-29 13:47:11 -07:00
Frontend [modules] Use `HashBuilder` and `MD5` for the module hash. 2021-09-03 11:13:36 -07:00
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07:00
Interpreter Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
Introspection [AST] Fix DeclarationNameInfo introspection 2021-04-26 18:49:13 +01:00
Lex [Lexer] Fix bug in `makeFileCharRange` called on split tokens. 2021-07-14 14:36:31 +00:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware 2021-07-29 12:02:37 -04:00
Serialization [Frontend] Only compile modules if not already finalized 2021-07-15 18:27:08 -07:00
StaticAnalyzer Revert "[analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it" 2021-09-03 10:28:07 -07:00
Tooling [clang][tooling] Properly initialize DiagnosticsEngine for cc1 command-line construction 2021-09-10 13:54:24 +02:00
libclang [libclang] Add CXRewriter to libclang API 2020-09-04 14:17:03 -07:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00