]> granicus.if.org Git - clang/commit
clang-format: Support chained dereferenced assignments.
authorDaniel Jasper <djasper@google.com>
Thu, 14 Aug 2014 10:53:19 +0000 (10:53 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 14 Aug 2014 10:53:19 +0000 (10:53 +0000)
commit4230ae8f1a3a290b59b8dfdbc99919102e43b4f0
tree83726b9d23a68146f1fb919ff3f20563c0323324
parent09825551390036af3a48c360a1bb58dce9193117
clang-format: Support chained dereferenced assignments.

Before:
  x = * a(x) = *a(y);

After:
  x = *a(x) = *a(y);

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