]> granicus.if.org Git - clang/commit
clang-format: Fix */& detection for lambdas in macros.
authorDaniel Jasper <djasper@google.com>
Tue, 12 May 2015 10:20:32 +0000 (10:20 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 12 May 2015 10:20:32 +0000 (10:20 +0000)
commita00c9ee75f5b5d5bf113dac2fe3cfdf386e76f8b
tree1ca0496cf34eeae75bd1d2a6ddbb9c8158ba8526
parentea22a3f1331fbee7656ad9bb33fbc763c3627436
clang-format: Fix */& detection for lambdas in macros.

Before:
  #define MACRO() [](A * a) { return 1; }

After:
  #define MACRO() [](A *a) { return 1; }

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