]> granicus.if.org Git - clang/commit
Format overloaded operators like other functions.
authorDaniel Jasper <djasper@google.com>
Tue, 9 Jul 2013 07:43:55 +0000 (07:43 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 9 Jul 2013 07:43:55 +0000 (07:43 +0000)
commit6561f6a13b79ed752748ede590792191edf78ce8
tree9704edb6649dd6fe96e8d752af587608c044f055
parente600d4be7d01661ab7601f9ef9c4d3236c377385
Format overloaded operators like other functions.

This fixes llvm.org/PR16328 (at least partially).

Before:
SomeLoooooooooooooooooooooooooooooogType operator<<(
    const SomeLooooooooogType &a, const SomeLooooooooogType &b);

After:
SomeLoooooooooooooooooooooooooooooogType
operator<<(const SomeLooooooooogType &a, const SomeLooooooooogType &b);

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