diff options
author | Manuel Klimek <klimek@google.com> | 2013-01-09 15:25:02 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-01-09 15:25:02 +0000 |
commit | 52b1515405c31d8c453488e98ec16140c7863314 (patch) | |
tree | 97e2950a580d311415eecf16e9db16070d89198d /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 864ef315c0dc3c7aaf3121c03dbc0e10895b5e06 (diff) | |
download | llvm-52b1515405c31d8c453488e98ec16140c7863314.zip llvm-52b1515405c31d8c453488e98ec16140c7863314.tar.gz llvm-52b1515405c31d8c453488e98ec16140c7863314.tar.bz2 |
Enables layouting unwrapped lines around preprocessor directives.
Previously, we'd always start at indent level 0 after a preprocessor
directive, now we layout the following snippet (column limit 69) as
follows:
functionCallTo(someOtherFunction(
withSomeParameters, whichInSequence,
areLongerThanALine(andAnotherCall,
B
withMoreParamters,
whichStronglyInfluenceTheLayout),
andMoreParameters),
trailing);
Note that the different jumping indent is a different issue that will be
addressed separately.
This is the first step towards handling #ifdef->#else->#endif chains
correctly.
llvm-svn: 171974
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions