diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2017-07-28 06:42:15 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2017-07-28 06:42:15 +0000 |
commit | fa4969539ad13bfd2c67caa3b206754cef373ba6 (patch) | |
tree | 57735d3e5470018dd0427ceb986ae06293f985a8 /clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp | |
parent | 30caae6d23d92a72126cdb2223bd5d2155fd8544 (diff) | |
download | bcm5719-llvm-fa4969539ad13bfd2c67caa3b206754cef373ba6.tar.gz bcm5719-llvm-fa4969539ad13bfd2c67caa3b206754cef373ba6.zip |
[SCEV] Do not visit nodes twice in containsConstantSomewhere
This patch reworks the function that searches constants in Add and Mul SCEV expression
chains so that now it does not visit a node more than once, and also renames this function
for better correspondence between its implementation and semantics.
Differential Revision: https://reviews.llvm.org/D35931
llvm-svn: 309367
Diffstat (limited to 'clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp')
0 files changed, 0 insertions, 0 deletions