llvm-project/clang/lib/Format
Daniel Jasper ac5c1c286c Prefer splitting after "template <...>" and fix indentation.
This addresses llvm.org/PR14699

Before:
template <typename T>
    void looooooooooooooooooooooongFunction(int Param1, int Param2);
template <typename T> void looooooooooooooooooooongFunction(
    int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2);

After:
template <typename T>
void looooooooooooooooooooooongFunction(int Param1, int Param2);
template <typename T>
void looooooooooooooooooooongFunction(int Paaaaaaaaaaaaaaaaaaaaram1,
                                      int Paaaaaaaaaaaaaaaaaaaaram2);

llvm-svn: 171388
2013-01-02 15:08:56 +00:00
..
CMakeLists.txt
Format.cpp Prefer splitting after "template <...>" and fix indentation. 2013-01-02 15:08:56 +00:00
Makefile
UnwrappedLineParser.cpp Formatter: parse and format inline namespaces like regular namespaces 2012-12-30 21:27:25 +00:00
UnwrappedLineParser.h Let clang-format format itself. 2012-12-24 16:51:15 +00:00