]> granicus.if.org Git - clang/commit
Fix bool expression special case.
authorManuel Klimek <klimek@google.com>
Thu, 27 Mar 2014 11:17:36 +0000 (11:17 +0000)
committerManuel Klimek <klimek@google.com>
Thu, 27 Mar 2014 11:17:36 +0000 (11:17 +0000)
commitcb096de1de446dca9faa1db914dd0e464aec6ad7
tree25adeb593800fe002848cb11881d2eb38f806e55
parent31640971f1ecb192b1292e3310a500700093d576
Fix bool expression special case.

Clang-format now correctly formats:
  some_type<a * b> v;
  template <bool a, bool b> typename enabled_if<a && b>::type f() {}

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