This is 1/4 of a series of patches for making the special lexing for dependency scanning a first-class feature of the Preprocessor and Lexer.
This patch only includes NFC renaming changes to make reviewing of the functionality changing parts easier.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! Thanks for splitting this out.
clang/tools/clang-scan-deps/ClangScanDeps.cpp | ||
---|---|---|
120 | Probably unnecessary bike-shedding, but something like preprocess-dependency-directives or scan-and-preprocess-dependency-directives would read better IMO. Up to you whether you change this. |
Comment Actions
Rename the clang-scan-deps flag from "-preprocess-directives-scan" to "-preprocess-dependency-directives"
clang/tools/clang-scan-deps/ClangScanDeps.cpp | ||
---|---|---|
120 | preprocess-dependency-directives is indeed better, I've renamed the flag to that 👍 |
Probably unnecessary bike-shedding, but something like preprocess-dependency-directives or scan-and-preprocess-dependency-directives would read better IMO. Up to you whether you change this.