llvm-project/clang/test/ClangScanDeps/Inputs
Alex Lorenz c68f247275 [clang-scan-deps] ignore top-level module dependencies that aren't actually imported
Whenever -fmodule-name=top_level_module name is parsed, and clang actually tries to
import top_level_module, the headers are imported textually and the module isn't actually
built. However, the dependency scanner could still record it as a potential dependency
if the module was reimported and thus recorded by the preprocessor callbacks.
This change avoids collecting this kind of module as a dependency by verifying that we don't
collect top level modules without actual PCM files.

Differential Revision: https://reviews.llvm.org/D106100
2021-07-20 11:11:28 -07:00
..
frameworks Reapply "[clang][deps] Support inferred modules" 2021-05-20 12:41:52 +02:00
modules-pch [clang][deps] Handle modular dependencies present in PCH 2021-06-14 11:59:35 +02:00
preserved-args [clang][deps] Prevent unintended modifications of the original TU command-line 2021-06-14 13:58:19 +02:00
foodir [clang-scan-deps] Fix for headers having the same name as a directory 2019-09-13 22:12:02 +00:00
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_clangcl.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04: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
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 [clang-scan-deps] remove dots and dots dots from the reported file dependency paths 2019-09-12 18:03:24 +00:00
symlink_cdb.json [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
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 [clang-scan-deps] Implementation of dependency scanner over minimized sources 2019-08-06 20:43:25 +00:00
vfsoverlay_cdb.json Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00