diff options
author | Tim Shen <timshen91@gmail.com> | 2017-04-19 03:22:50 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2017-04-19 03:22:50 +0000 |
commit | 86652f262a0c8e1ad721d11e9258b6d64eb37369 (patch) | |
tree | 9c4e8c057dd81bc55cd8d1feb859b8a90b7dd734 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5943a96d81544d23c778d3120e67cb75c3208140 (diff) | |
download | bcm5719-llvm-86652f262a0c8e1ad721d11e9258b6d64eb37369.tar.gz bcm5719-llvm-86652f262a0c8e1ad721d11e9258b6d64eb37369.zip |
Cleanup some GraphTraits iteration code
Use children<> and nodes<> in appropriate places to cleanup the code.
Also, as part of the cleanup,
change the signature of DominatorTreeBase's Split.
It is a protected non-virtual member function called only twice,
both from within the class,
and the removed passed argument in both cases is '*this'.
The reason for the existence of that argument seems to be that
back before r43115 Split was a free function,
so an argument to get '*this' was needed - but now that is no longer the
case.
Patch by Yoav Ben-Shalom!
Differential Revision: https://reviews.llvm.org/D32118
llvm-svn: 300656
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions