llvm-project/clang/tools
Jan Svoboda 225ccf0c50 [clang][cli] Command line round-trip for HeaderSearch options
This patch implements generation of remaining header search arguments.
It's done manually in C++ as opposed to TableGen, because we need the flexibility and don't anticipate reuse.

This patch also tests the generation of header search options via a round-trip. This way, the code gets exercised whenever Clang is built and tested in asserts mode. All `check-clang` tests pass.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D94472
2021-02-04 10:18:34 +01:00
..
apinotes-test [gn build] (manually) port 82f86ae01 2020-11-05 14:11:26 -05:00
arcmt-test ARCMigrate: Stop abusing PreprocessorOptions for passing back file remappings, NFC 2020-12-02 16:28:33 -08:00
c-arcmt-test
c-index-test [ASTReader] Allow controlling separately whether validation should be disabled for a PCH vs a module file 2021-01-21 20:45:54 -08:00
clang-check [Syntax] Add syntax-tree-dump in clang-check. 2021-01-29 14:10:27 +01:00
clang-diff clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
clang-extdef-mapping [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
clang-format [clang-format] Add case aware include sorting. 2021-02-02 15:12:27 +01:00
clang-format-vs clang-format-vs : Fix Unicode formatting 2019-11-27 09:58:59 +01:00
clang-fuzzer [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
clang-import-test Fixup for 8c86197de3 to avoid making it platform-dependent 2020-12-11 17:34:00 -08:00
clang-offload-bundler [clang-offload-bundler] Add option -list 2021-01-06 16:23:01 -05:00
clang-offload-wrapper [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
clang-refactor [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
clang-rename [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
clang-scan-deps Revert "[clang-scan-deps] Support clang-cl" 2020-12-14 13:32:38 -05:00
clang-shlib [clang-shlib] Don't link with static clang libraries 2020-07-10 14:28:05 -07:00
diag-build
diagtool Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
driver [clang][cli] Command line round-trip for HeaderSearch options 2021-02-04 10:18:34 +01:00
libclang [clang][AST] Encapsulate DeclarationNameLoc, NFCI 2021-01-27 11:21:01 +00:00
scan-build Remove Python2 fallback and only advertise Python3 in the doc 2020-12-17 15:40:16 +01:00
scan-build-py Remove Python2 fallback and only advertise Python3 in the doc 2020-12-17 15:40:16 +01:00
scan-view scan-view: Remove Reporter.py and associated AppleScript files 2020-12-21 19:24:35 -08:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00