llvm-project/clang/unittests
Daniel Jasper eb50c676ba Recognize < and > as binary expressions in builder-type calls.
The current heuristic assumes that there can't be binary operators in
builder-type calls (excluding assigments). However, it also excluded
< and > in general, which is wrong. Now they are only excluded if they
are template parameters.

Before:
return aaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa()i
       .aaaaaa() < aaaaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa();

After:
return aaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa() <
       aaaaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa();

llvm-svn: 175291
2013-02-15 20:33:06 +00:00
..
AST PR15095: Use more correct source locations for the InitListExpr we fake up for 2013-02-05 05:55:57 +00:00
ASTMatchers Adding more overloads for allOf matcher 2013-02-12 13:55:40 +00:00
Basic Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
Format Recognize < and > as binary expressions in builder-type calls. 2013-02-15 20:33:06 +00:00
Frontend Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
Lex For ModuleLoader::makeModuleVisible() also pass the source location where the 2013-02-01 16:36:12 +00:00
Tooling Fix a typo in the name of a tooling unit test 2013-01-28 04:37:38 +00:00
CMakeLists.txt Initial version of formatting library. 2012-12-03 18:12:45 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00