[PATCH] D68052: [clang-scan-deps] Allow continuation line backslashes followed by whitespace in the dependency source minimizer
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 25 14:34:35 PDT 2019
arphaman created this revision.
arphaman added reviewers: dexonsmith, Bigcheese, kousikk, aganea.
Herald added subscribers: ributzka, tschuett, jkorous.
Herald added a project: clang.
Clang allows continuations that have whitespace between the backslash and the newline. This patch ensures that the dependency source minimizer can handle the whitespace between the backslash and the newline when looking for a line continuation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68052
Files:
clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68052.221836.patch
Type: text/x-patch
Size: 4180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190925/dc5ebc4e/attachment.bin>
More information about the cfe-commits
mailing list