llvm-project/clang/tools
Ella Ma da168dd875 [clang] Allow clang-check to customize analyzer output file or dir name
Required by https://stackoverflow.com/questions/58073606

As the output argument is stripped out in the clang-check tool, it seems impossible for clang-check users to customize the output file name, even with -extra-args and -extra-arg-before.

This patch adds the -analyzer-output-path argument to allow users to adjust the output name. And if the argument is not set or the analyzer is not enabled, the original strip output adjuster will remove the output arguments.

Differential Revision: https://reviews.llvm.org/D97265
2021-11-15 16:49:41 +01:00
..
amdgpu-arch [amdgpu-arch] Guard hsa.h with __has_include 2021-05-10 07:33:30 +00:00
apinotes-test [Support] Don't include VirtualFileSystem.h in CommandLine.h 2021-04-21 10:19:01 -04:00
arcmt-test [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
c-arcmt-test
c-index-test [CMake] Consistently use the LibXml2::LibXml2 target instead of LIBXML2_LIBRARIES 2021-09-25 13:13:11 +02:00
clang-check [clang] Allow clang-check to customize analyzer output file or dir name 2021-11-15 16:49:41 +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 --staged/--cached option to git-clang-format 2021-10-30 17:37:58 +01:00
clang-format-vs clang-format-vs : Fix Unicode formatting 2019-11-27 09:58:59 +01:00
clang-fuzzer Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
clang-import-test Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
clang-nvlink-wrapper [Clang][clang-nvlink-wrapper] Pass nvlink path to the wrapper 2021-10-12 16:15:52 +00:00
clang-offload-bundler [Clang][OpenMP] Add partial support for Static Device Libraries 2021-10-08 09:37:51 +00:00
clang-offload-wrapper [clang-offload-wrapper] Disabled ELF offload notes embedding by default. 2021-08-18 08:18:03 -07:00
clang-refactor Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer 2021-07-16 07:38:16 +00:00
clang-rename [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
clang-repl Reland "[clang-repl] Allow loading of plugins in clang-repl." 2021-10-05 13:04:01 +00:00
clang-scan-deps [clang][deps] Make resource directory deduction configurable 2021-10-21 14:06:52 +02:00
clang-shlib [CMake] Don't use -Bsymbolic-functions for MinGW targets 2021-06-30 22:54:26 +03:00
diag-build [clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils. 2021-09-23 21:16:43 +05:30
diagtool Reland "[clang-cl] Accept `#pragma warning(disable : N)` for some N" 2021-09-30 15:03:23 -04:00
driver [clang] Fix cmake error 2021-11-02 10:47:44 -07:00
libclang [clang] Use isa instead of dyn_cast (NFC) 2021-11-14 09:32:40 -08:00
scan-build Revert "Use `GNUInstallDirs` to support custom installation dirs. -- LLVM" 2021-11-02 19:11:44 +01:00
scan-build-py Make analyze-cc path discovery sensible to symlinks 2021-09-27 08:35:19 +02:00
scan-view Partially Revert "scan-view: Remove Reporter.py and associated AppleScript files" 2021-02-11 19:10:46 -08:00
CMakeLists.txt [clang-nvlink-wrapper] Wrapper around nvlink for archive files 2021-09-01 16:00:29 +05:30