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)
commit99b5a4648cd02e88f9d3df15589ab5938a618cdd
treeee9d897fc95b717d5d9dd6ed90c6100115f22776
parent5fc133e71e62090d72a631aa576ac85100a26772
clang-format: Fix */& detection for lambdas in macros.

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

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

llvm-svn: 237109
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp