[PATCH] D127883: [clang][deps] Further canonicalize implicit modules options in dep scan
Ben Langmuir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 15 11:02:17 PDT 2022
benlangmuir created this revision.
benlangmuir added reviewers: jansvoboda11, Bigcheese.
Herald added a project: All.
benlangmuir requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Disable or canonicalize compiler options that are not relevant in explicit module builds, similar to what we already did for the modules cache path. This reduces uninteresting differences between command-lines, which is particularly useful if there is a tool that can cache the compilations.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127883
Files:
clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/Inputs/removed-args/cdb.json.template
clang/test/ClangScanDeps/removed-args.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127883.437254.patch
Type: text/x-patch
Size: 5915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220615/235ff0b7/attachment-0001.bin>
More information about the cfe-commits
mailing list