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)
commit6331da06725dc99fe88f875647b69c80168d84dc
treedf2933c2accbc84796490e03464b2f7b1c6cba3f
parentdbbf09b28ec72c5834d2b35ccddfaf99ef2671de
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);

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