]> granicus.if.org Git - clang/commit
clang-format: Better support for CUDA's triple brackets.
authorDaniel Jasper <djasper@google.com>
Sat, 5 Nov 2016 17:43:16 +0000 (17:43 +0000)
committerDaniel Jasper <djasper@google.com>
Sat, 5 Nov 2016 17:43:16 +0000 (17:43 +0000)
commit320da71d26ff59f846bfbf998eb3373fccfd760b
tree74255001feea29dfe70ab00866ab658f9c96f3c3
parent80464680ce2ae47d30b9a404597643e5d8bf6bba
clang-format: Better support for CUDA's triple brackets.

Before:
  aaaaaaaaaaaaaaa<
      aaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaaaa><<<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>>>();

After:
  aaaaaaaaaaaaaaa<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>
      <<<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>>>();

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