]> granicus.if.org Git - clang/commit
clang-format: Fix incorrect binary operator detection.
authorDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:23:05 +0000 (06:23 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:23:05 +0000 (06:23 +0000)
commit06b83f9d80e1f84d75e8a17e975791234b38bbcd
tree2294e5ac4a1d1be7b2e1497d4d69da2895ec0a84
parent51b10ccf7ab813af35c2e3d1e3c52f3f95006fc4
clang-format: Fix incorrect binary operator detection.

Before:
  int x = f(* + [] {});

After:
  int x = f(*+[] {});

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