aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-02-18 13:52:06 +0000
committerDaniel Jasper <djasper@google.com>2013-02-18 13:52:06 +0000
commite53beb2647e2438b903add72cb8c521d9844ecf9 (patch)
tree5bcb411ad921e42d15b154921866aa306fdc815e /clang/lib/Frontend/CompilerInvocation.cpp
parent4c1602b5c983b3e9b53df50c97716e940c70e725 (diff)
downloadllvm-e53beb2647e2438b903add72cb8c521d9844ecf9.zip
llvm-e53beb2647e2438b903add72cb8c521d9844ecf9.tar.gz
llvm-e53beb2647e2438b903add72cb8c521d9844ecf9.tar.bz2
Improve indentation of builder type calls.
In builder-type calls, it can be very confusing to just indent parameters from the start of the line. Instead, indent 4 from the correct function call. Before: aaaaaaaaaaaaaaaaaaa()->aaaaaa(bbbbb)->aaaaaaaaaaaaaaaaaaa( // break aaaaaaaaaaaaaa); aaaaaaaaaaaaaaaaaaaaaaa *aaaaaaaaa = aaaaaa->aaaaaaaaaaaa()->aaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) ->aaaaaaaaaaaaaaaaa(); After: aaaaaaaaaaaaaaaaaaa()->aaaaaa(bbbbb)->aaaaaaaaaaaaaaaaaaa( // break aaaaaaaaaaaaaa); aaaaaaaaaaaaaaaaaaaaaaa *aaaaaaaaa = aaaaaa->aaaaaaaaaaaa() ->aaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) ->aaaaaaaaaaaaaaaaa(); llvm-svn: 175444
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions