summaryrefslogtreecommitdiffstats
path: root/clang/INPUTS/cfg-nested-var-scopes.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-06-17 12:59:44 +0000
committerAlexander Kornienko <alexfh@google.com>2013-06-17 12:59:44 +0000
commit4d26b6efef3a71e583409b148506c3dd6d3a87bb (patch)
tree34cdef3dfb45841bd3467c9acb18910a02ac3609 /clang/INPUTS/cfg-nested-var-scopes.cpp
parent2ab0ac5360e15a5303469a871c420c3f06dea660 (diff)
downloadbcm5719-llvm-4d26b6efef3a71e583409b148506c3dd6d3a87bb.tar.gz
bcm5719-llvm-4d26b6efef3a71e583409b148506c3dd6d3a87bb.zip
Fixes incorrect indentation of line comments after break and re-alignment.
Summary: Selectively propagate the information about token kind in WhitespaceManager::replaceWhitespaceInToken.For correct alignment of new segments of line comments in order to align them correctly. Don't set BreakBeforeParameter in breakProtrudingToken for line comments, as it introduces a break after the _next_ parameter. Added tests for related functions. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D980 llvm-svn: 184076
Diffstat (limited to 'clang/INPUTS/cfg-nested-var-scopes.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud