clang-format: Fix fake parentheses placement with comments.
authorDaniel Jasper <djasper@google.com>
Wed, 3 Dec 2014 14:02:59 +0000 (14:02 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 3 Dec 2014 14:02:59 +0000 (14:02 +0000)
commitc095663ec10d8e9bcbf822156e56f6789ebe21a1
treed500681a1b53c6edf43ef7db393207d0093dc3b0
parent7395cae005886f4ed15713e45d7acfd2c3f33593
clang-format: Fix fake parentheses placement with comments.

Before:
  return (a > b
          // comment1
      // comment2
      || c);

After:
  return (a > b
      // comment1
      // comment2
      || c);

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