]> granicus.if.org Git - clang/commit
[clang-scan-deps] Dependency directives source minimizer:
authorAlex Lorenz <arphaman@gmail.com>
Wed, 10 Jul 2019 22:00:59 +0000 (22:00 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 10 Jul 2019 22:00:59 +0000 (22:00 +0000)
commitacd38fa683686672cfbed237c242009d30f696d4
treeae3c437167e15abf10b4bd9c81a7cc6b0a9d1d83
parentfa50bf0cf89f59254ae0969e936c597ec1da78b9
[clang-scan-deps] Dependency directives source minimizer:
single quotes are not digit separators after a valid character literal prefix

The single quote character can act as a c++ digit separator.
However, the minimizer shouldn't treat it as such when it's actually following
a valid character literal prefix, like L, U, u, or u8.

Differential Revision: https://reviews.llvm.org/D64525

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365700 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/DependencyDirectivesSourceMinimizer.cpp
unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp