aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVTables.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-02-15 20:33:06 +0000
committerDaniel Jasper <djasper@google.com>2013-02-15 20:33:06 +0000
commit4a544e5856ceadef1c095c7d1ae5c8d760851d59 (patch)
treeaaef0e8a438ff15328c37ad9e88a7dd61c15ed66 /lib/CodeGen/CGVTables.cpp
parent3285c78041f80a26f6a947e2922e15c4af6e00bb (diff)
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(); git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
0 files changed, 0 insertions, 0 deletions