llvm-project/clang/unittests
Daniel Grumberg 29125ddf13 Start adding support for generating CC1 command lines from CompilerInvocation
This change includes the following:
- Add additional information in the relevant table-gen files to encode
the necessary information to automatically parse the argument into a
CompilerInvocation instance and to generate the appropriate command
line argument from a CompilerInvocation instance.
- Extend OptParserEmitter to emit the necessary macro tables as well as
constant tables to support parsing and generating command line
arguments for options that provide the necessary information.
- Port some options to use this new system for parsing and generating
command line arguments.

Differential Revision: https://reviews.llvm.org/D79796
2020-06-24 18:05:05 +01:00
..
AST When performing a substitution into a dependent alias template, mark the 2020-06-23 14:43:04 -07:00
ASTMatchers Handle invalid types in the nullPointerConstant AST matcher 2020-06-23 07:14:33 -04:00
Analysis Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present 2020-06-09 19:45:57 +01:00
Basic [clang][Preprocessor] Replace the slow translateFile call by a new, faster isMainFile check 2020-05-14 14:13:34 -07:00
CodeGen Remove CompositeType class. 2020-03-18 13:53:17 -07:00
CrossTU [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
DirectoryWatcher [DirectoryWatcher] Fix misuse of FSEvents API and data race 2020-02-11 09:25:38 -08:00
Driver Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
Format [clang-format] restore indent in conditionals when AlignOperands is DontAlign 2020-06-24 13:11:18 +02:00
Frontend Start adding support for generating CC1 command lines from CompilerInvocation 2020-06-24 18:05:05 +01:00
Index [clang][Index] Visit the default parameter arguements in libindex. 2020-02-17 16:45:04 +01:00
Lex [clang] Make sure argument expansion locations are correct in presence of predefined buffer 2020-04-22 21:01:52 +02:00
Rename [OpenMP] "UnFix" layering problem with FrontendOpenMP 2020-04-07 14:41:18 -05:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Use libClangTesting in the unittest for AST matchers 2020-06-04 17:40:39 +02:00
Serialization Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
StaticAnalyzer [Analyzer] Replace `assert` with `ASSERT_TRUE` in a unit test to silence warnings 2020-06-12 17:09:34 +02:00
Tooling [libTooling] Delete deprecated `Stencil` combinators. 2020-06-24 16:45:24 +00:00
libclang Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
CMakeLists.txt [clang] [unittest] Import LLVMTestingSupport if necessary 2019-09-12 13:06:12 +00:00