[clang] [clang-scan-deps] Fix "unterminated conditional directive" bug (PR #146645)
Naveen Seth Hanig via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 2 06:41:47 PDT 2025
https://github.com/naveen-seth commented:
I realized that I probably should have also removed the following code in #143950:
https://github.com/llvm/llvm-project/blob/2b03efc7fba813bb0c52b7016867f200a91c2d34/clang/lib/Lex/DependencyDirectivesScanner.cpp#L445-L451
The logic added in #143950 also handles line splices with 0 trailing whitespace characters, so this code is now redundant.
Should I make a separate PR for this?
https://github.com/llvm/llvm-project/pull/146645
More information about the cfe-commits
mailing list