]> granicus.if.org Git - clang/commit
clang-format: Fix incorrect &&-detection in macros.
authorDaniel Jasper <djasper@google.com>
Mon, 14 Apr 2014 12:50:02 +0000 (12:50 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 14 Apr 2014 12:50:02 +0000 (12:50 +0000)
commitfde5c28edd79f5cde6fea3c889cf1790abc73e2c
treef405622248d43b5b000e6dbacfdb96a58fa64030
parent8d29f537f5348d03c9d74e0d99c3e021f37f382f
clang-format: Fix incorrect &&-detection in macros.

Before:
  #define A(a, b) (a &&b)

After:
  #define A(a, b) (a && b)

This fixes llvm.org/PR19343.

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