summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-07 09:24:17 +0000
committerManuel Klimek <klimek@google.com>2013-01-07 09:24:17 +0000
commit38ba11e492695b1b80821142af5f909e08aeb599 (patch)
tree8a009f0c488a95e3cdf7e41976ff313afef36546 /clang/lib/Format/UnwrappedLineParser.cpp
parent342cc255d0e107d84132744a8a021674fb46314a (diff)
downloadbcm5719-llvm-38ba11e492695b1b80821142af5f909e08aeb599.tar.gz
bcm5719-llvm-38ba11e492695b1b80821142af5f909e08aeb599.zip
Do not ever allow using the full line in preprocessor directives.
We would format: #define A \ int f(a); int i; as #define A \ int f(a);\ int i The fix will break up macro definitions that could fit a line, but hit the last column; fixing that is more involved, though, as it requires looking at the following line. llvm-svn: 171715
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud