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 | 526ed11ad9743c773df76bd1649d33fb92c2b8cb (patch) | |
| tree | a2043c193caafb553102c6c1f413db8cdc404a87 /lib/CodeGen/CGExpr.cpp | |
| parent | 35eb8c3e12cac22f91d1cd4c74ae092ebc94fc40 (diff) | |
| download | clang-526ed11ad9743c773df76bd1649d33fb92c2b8cb.tar.gz clang-526ed11ad9743c773df76bd1649d33fb92c2b8cb.tar.bz2 clang-526ed11ad9743c773df76bd1649d33fb92c2b8cb.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
