]> granicus.if.org Git - clang/commit
Don't remove all indentation when in #defines.
authorDaniel Jasper <djasper@google.com>
Wed, 20 Mar 2013 10:23:53 +0000 (10:23 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 20 Mar 2013 10:23:53 +0000 (10:23 +0000)
commitbcca7e484117f3155ff98f9560996e760ca4f786
tree5eea66a6ed85122a5b897b95292a05f1f52be259
parent7c4a9a04b4b2a44259b34078434e087987872095
Don't remove all indentation when in #defines.

Otherwise, this can become hard to read.

Before: #define A \
        case 1:
After:  #define A \
           case 1:

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177509 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp