summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/TokenAnnotator.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-02-06 15:23:09 +0000
committerDaniel Jasper <djasper@google.com>2013-02-06 15:23:09 +0000
commit383965914085e387937c63d1b7670a5d98734aaa (patch)
tree9286521defb14a4a1b6a79f9e294540599bd11be /clang/lib/Format/TokenAnnotator.cpp
parentd895ae94f92be51f29e72912bf6e6825a7b3d62c (diff)
downloadbcm5719-llvm-383965914085e387937c63d1b7670a5d98734aaa.tar.gz
bcm5719-llvm-383965914085e387937c63d1b7670a5d98734aaa.zip
Fix a formatting bug caused by comments in expressions.
This fixes llvm.org/PR15162. Before: bool aaaaaaaaaaaaa = // comment aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaa; After: bool aaaaaaaaaaaaa = // comment aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa || aaaaaaaaaaaaaaaaaaaaaaaaaaaaa; llvm-svn: 174508
Diffstat (limited to 'clang/lib/Format/TokenAnnotator.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud