llvm-project/clang/test/ClangScanDeps/Inputs
Jan Svoboda 47eec789ed [clang][deps] Remove hard-coded resource directory from tests
Dependency scanner test for resource directory deduction doesn't account for LLVM builds with custom `CLANG_RESOURCE_DIR`.

This patch ensures we don't hardcode the default behavior into the test and take into account the actual value. This is done by running `%clang -print-resource-dir` and using that as the expected value in test assertions.
New comment also clarifies this is different from running that command as part of the dependency scan.

Reviewed By: mgorny

Differential Revision: https://reviews.llvm.org/D115628
2021-12-14 10:59:47 +01:00
..
diagnostics [ClangScanDeps][test] Add -fmodules-cache-path=DIR/cache to make diagnostics.c hermetic 2021-09-13 13:17:55 -07:00
frameworks Reapply "[clang][deps] Support inferred modules" 2021-05-20 12:41:52 +02:00
header-search-pruning [clang][deps] Prune unused header search paths 2021-10-12 12:39:23 +02:00
modules-context-hash [clang][deps] Fix fragile test 2021-10-27 14:00:13 +02:00
modules-pch [clang][deps] Handle modular dependencies present in PCH 2021-06-14 11:59:35 +02:00
modules-pch-common-submodule [clang][deps] Use top-level modules as precompiled dependencies 2021-08-25 10:51:34 +02:00
modules-pch-common-via-submodule [clang][deps] Collect precompiled deps from submodules too 2021-08-25 10:35:34 +02:00
preserved-args [clang][deps] Prevent unintended modifications of the original TU command-line 2021-06-14 13:58:19 +02:00
removed-args [clang][deps] Reset some benign codegen options 2021-12-08 11:53:50 +01:00
resource_directory [clang][deps] Remove hard-coded resource directory from tests 2021-12-14 10:59:47 +01:00
foodir
has_include_if_elif.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
header.h
header2.h
header3.h [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
header_stat_before_open_cdb.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
headerwithdirname.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
headerwithdirnamefollowedbyinclude.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
module.modulemap [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
module_fmodule_name_cdb.json [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
modules_cdb.json [clang][clang-scan-deps] Aggregate the full dependency information. 2020-01-23 16:58:50 -08:00
modules_cdb_by_mod_name.json [clang-scan-deps] Add an API for clang dependency scanner to perform 2021-09-09 08:52:50 -07:00
modules_cdb_clangcl.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
modules_cdb_clangcl_by_mod_name.json [clang-scan-deps] Add an API for clang dependency scanner to perform 2021-09-09 08:52:50 -07:00
modules_inferred_cdb.json [clang][deps] Explicitly enable C++ modules in a test 2021-05-21 10:25:02 +02:00
no-werror.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
preprocess_minimized_pragmas.h [clang][deps] Keep #pragma push_macro, pop_macro and include_alias when minimizing source code. 2021-11-01 16:04:52 -04:00
preprocess_minimized_pragmas_cdb.json [clang][deps] Keep #pragma push_macro, pop_macro and include_alias when minimizing source code. 2021-11-01 16:04:52 -04:00
regular_cdb.json [clang-scan-deps] Support double-dashes in clang command lines 2021-04-17 14:22:51 -04:00
regular_cdb_clangcl.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
relative_directory.json [clang-scan-deps] Fix for input file given as relative path in compilation database "command" entry. 2020-11-12 08:48:17 -05:00
static-analyzer-cdb.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
strip_diag_serialize.json [clang][deps] Move stripping of diagnostic serialization from `clang-scan-deps` to `DependencyScanning` library 2021-06-14 12:23:32 +02:00
subframework_header_dir_symlink_cdb.json
symlink_cdb.json
sys-header.h
target-filename-cdb.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
vfsoverlay.yaml
vfsoverlay_cdb.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00