]> granicus.if.org Git - clang/commit
Fix bad formatting of overloaded operator definitions.
authorDaniel Jasper <djasper@google.com>
Fri, 5 Apr 2013 17:21:59 +0000 (17:21 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 5 Apr 2013 17:21:59 +0000 (17:21 +0000)
commit27b91cc046f580fbe825f15b3e27f1b6407ee3e3
treeefaea43690f511775f9bac2c02ed219767e21444
parent3a163318526e7bfaa6012b411934728e2954047e
Fix bad formatting of overloaded operator definitions.

Before:
bool operator<
    (const aaaaaaaaaaaaaaaaaaaaa &left, const aaaaaaaaaaaaaaaaaaaaa &right) {
  return left.group < right.group;
}

After:
bool operator<(const aaaaaaaaaaaaaaaaaaaaa &left,
               const aaaaaaaaaaaaaaaaaaaaa &right) {
  return left.group < right.group;
}

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