LexedFileChanged has the semantics we want of ignoring #line/etc. It's also consistent with other dep collectors like DependencyFileGenerator.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143613
[clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI ClosedPublic Authored by benlangmuir on Feb 8 2023, 3:39 PM.
Details Summary LexedFileChanged has the semantics we want of ignoring #line/etc. It's also consistent with other dep collectors like DependencyFileGenerator.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 9 2023, 9:56 AM Comment Actions
Oh, I didn't realize we didn't have one already. Added. Comment Actions
Thanks! Closed by commit rG8711120e8bcf: [clang][deps] Migrate ModuleDepCollector to LexedFileChanged NFCI (authored by benlangmuir). · Explain WhyFeb 9 2023, 11:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 496198 clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/line-directive.c
|