aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-07-16 23:23:35 +0000
committerCong Hou <congh@google.com>2015-07-16 23:23:35 +0000
commit9b4f6b2650fb7db7c09755dcb731a6d68e4ffe11 (patch)
tree81ae3342d8eda7710c366f38cc2ab9c4b9dadac2 /clang/lib/Frontend/CompilerInstance.cpp
parentd8b775a16609141654e8cd62044bfdb991e19961 (diff)
downloadllvm-9b4f6b2650fb7db7c09755dcb731a6d68e4ffe11.zip
llvm-9b4f6b2650fb7db7c09755dcb731a6d68e4ffe11.tar.gz
llvm-9b4f6b2650fb7db7c09755dcb731a6d68e4ffe11.tar.bz2
Add new constructors for LoopInfo/DominatorTree/BFI/BPI
Those new constructors make it more natural to construct an object for a function. For example, previously to build a LoopInfo for a function, we need four statements: DominatorTree DT; LoopInfo LI; DT.recalculate(F); LI.analyze(DT); Now we only need one statement: LoopInfo LI(DominatorTree(F)); http://reviews.llvm.org/D11274 llvm-svn: 242486
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions