]> granicus.if.org Git - clang/commit
clang-format: Improve boolean expression formatting in macros.
authorDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 09:09:09 +0000 (09:09 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 09:09:09 +0000 (09:09 +0000)
commitb644dd68d3d7261ceb8823595290439dc65530b1
treea01659042448477efdb6cc174dbf98c8bf0eeb19
parentb5a151d3eec8993d6b24896bb134bcda2bdf9f16
clang-format: Improve boolean expression formatting in macros.

Before:
  #define IF(a, b, c) if (a&&(b == c))

After:
  #define IF(a, b, c) if (a && (b == c))

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