summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-08-07 05:34:02 +0000
committerDaniel Jasper <djasper@google.com>2013-08-07 05:34:02 +0000
commitefed68700e6352f50d120b246041054e76b0c6b9 (patch)
tree45f4803be2cd469e8c20b29bbeb07e0dcadb8dbd /lib/CodeGen/CGExprScalar.cpp
parent909930fc19ff69b08f2ea6f6e2996d24c816f311 (diff)
downloadclang-efed68700e6352f50d120b246041054e76b0c6b9.tar.gz
clang-efed68700e6352f50d120b246041054e76b0c6b9.tar.bz2
clang-efed68700e6352f50d120b246041054e76b0c6b9.tar.xz
clang-format: Improve formatting of builder-type calls.
This removes a formatting choice that was added at one point, but is not generally liked by users. Specifically, in builder-type calls, do (easily) break if the object before the ./-> is either a field or a parameter-less function call. I.e., don't break after "aa.aa.aa" or "aa.aa.aa()". In general, these sequences in builder-type calls are seen as a single entity and thus breaking them up is a bad idea. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions