]> granicus.if.org Git - clang/commit
clang-format: Properly detect variable declarations with ObjC.
authorDaniel Jasper <djasper@google.com>
Thu, 23 Apr 2015 13:58:40 +0000 (13:58 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 23 Apr 2015 13:58:40 +0000 (13:58 +0000)
commit418836a44a07251898d0c8e85646c081fd4ba78e
tree4bfbd22b575c6ca73980530f27d5353bd932fb81
parenta378d472a52fe1d0b23be4aa021ff2b7622af512
clang-format: Properly detect variable declarations with ObjC.

Before:
  LoooooooooooooooooooooooooooooooooooooooongType
  LoooooooooooooooooooooooooooooooooooooongVariable([A a]);

After:
  LoooooooooooooooooooooooooooooooooooooooongType
      LoooooooooooooooooooooooooooooooooooooongVariable([A a]);

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