]> granicus.if.org Git - clang/commit
Fix for stringized function-macro args continued across lines
authorAlex Lorenz <arphaman@gmail.com>
Thu, 19 Sep 2019 22:39:24 +0000 (22:39 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 19 Sep 2019 22:39:24 +0000 (22:39 +0000)
commit6fc00ecd33ec55917563f11a0f2e61388b0d0078
tree3b1a7348466f3ec4b6b2732771f0fc4727d40181
parent9e4451359e49b07daff391ed20fbf47b63df9bf2
Fix for stringized function-macro args continued across lines

In case of certain #define'd macros, there's a space just before line continuation
that the minimized-source lexer was missing to include, resulting in invalid stringize.

Patch by: kousikk (Kousik Kumar)

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

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