llvm-project/clang/test/ClangScanDeps
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
..
Inputs [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
error.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
has_include_if_elif.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
header_stat_before_open.m Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
headerwithdirname.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
headerwithdirnamefollowedbyinclude.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
modules-fmodule-name-no-module-built.m [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
modules-full.cpp [clang][deps] NFC: Fix an XFAIL test on Windows 2021-06-14 14:37:26 +02:00
modules-inferred-explicit-build.m Reapply "[clang][deps] Support inferred modules" 2021-05-20 12:41:52 +02:00
modules-inferred.m [clang][deps] NFC: Check the correct context hashes in tests 2021-06-14 13:58:19 +02:00
modules-pch.c [clang][deps] Avoid minimizing PCH input files 2021-07-20 12:20:10 +02:00
modules.cpp [clang][deps] Fix failing modules.cpp test 2021-06-14 12:55:56 +02:00
no-werror.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
preserved-args.c [clang][deps] Prevent unintended modifications of the original TU command-line 2021-06-14 13:58:19 +02:00
regular_cdb.cpp [clang][deps] Move invocation adjustments from `clang-scan-deps` to `DependencyScanning` library 2021-06-14 12:23:33 +02:00
relative_directory.cpp [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.c Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
strip_diag_serialize.cpp [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.m [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
symlink.cpp [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
target-filename.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00
vfsoverlay.cpp Reland "[clang-scan-deps] Add support for clang-cl" 2021-04-21 07:56:39 -04:00