[PATCH] D35316: [Dominators] Update Clang's DominatorTree to use the new template argument
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 11:27:05 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL308041: [Dominators] Update Clang's DominatorTree to use the new template argument (authored by kuhar).
Changed prior to commit:
https://reviews.llvm.org/D35316?vs=106258&id=106678#toc
Repository:
rL LLVM
https://reviews.llvm.org/D35316
Files:
cfe/trunk/include/clang/Analysis/Analyses/Dominators.h
Index: cfe/trunk/include/clang/Analysis/Analyses/Dominators.h
===================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/Dominators.h
+++ cfe/trunk/include/clang/Analysis/Analyses/Dominators.h
@@ -38,15 +38,15 @@
class DominatorTree : public ManagedAnalysis {
virtual void anchor();
public:
- llvm::DominatorTreeBase<CFGBlock>* DT;
+ llvm::DomTreeBase<CFGBlock>* DT;
DominatorTree() {
- DT = new llvm::DominatorTreeBase<CFGBlock>(false);
+ DT = new llvm::DomTreeBase<CFGBlock>();
}
~DominatorTree() override { delete DT; }
- llvm::DominatorTreeBase<CFGBlock>& getBase() { return *DT; }
+ llvm::DomTreeBase<CFGBlock>& getBase() { return *DT; }
/// \brief This method returns the root CFGBlock of the dominators tree.
///
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35316.106678.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170714/8029740d/attachment.bin>
More information about the llvm-commits
mailing list