summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-04-03 12:38:53 +0000
committerAlexander Kornienko <alexfh@google.com>2013-04-03 12:38:53 +0000
commitb1be9d6e7437ccf921ae6bfb273dc10cb92cb48c (patch)
tree4d05f5fdff65cdde925fb0f1e353d7a5dd388277 /clang/lib/CodeGen/CodeGenModule.cpp
parent5816ca117b87d20047ebb108a1aebbf654524921 (diff)
downloadbcm5719-llvm-b1be9d6e7437ccf921ae6bfb273dc10cb92cb48c.tar.gz
bcm5719-llvm-b1be9d6e7437ccf921ae6bfb273dc10cb92cb48c.zip
Even better way to handle comments adjacent to preprocessor directives.
Summary: It turns out that we don't need to store CommentsBeforeNextToken in the line state, but rather flush them before we start parsing preprocessor directives. This fixes wrong comment indentation in code blocks in macro calls (the test is included). Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D617 llvm-svn: 178638
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud