diff options
author | Artem Belevich <tra@google.com> | 2019-07-12 16:13:29 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2019-07-12 16:13:29 +0000 |
commit | d9963b627ad281ac74321d92b7089266e30e007b (patch) | |
tree | 34f805fb3ca5fd2d94f3104ccf923b9dd166fe85 | |
parent | 81b7b2b574143124bbd4777fef52c5001cea1022 (diff) | |
download | bcm5719-llvm-d9963b627ad281ac74321d92b7089266e30e007b.tar.gz bcm5719-llvm-d9963b627ad281ac74321d92b7089266e30e007b.zip |
Minor cleanup.
Simplify things a bit by removing unnecessary full type qualification.
This also happens to avoid a build break with now-unsupported
Visual Studio 2015.
Differential Review: https://reviews.llvm.org/D64588
llvm-svn: 365913
-rw-r--r-- | llvm/include/llvm/Analysis/IteratedDominanceFrontier.h | 3 | ||||
-rw-r--r-- | llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h index 1fa1db53786..7c826780c31 100644 --- a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h +++ b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h @@ -63,8 +63,7 @@ namespace IDFCalculatorDetail { template <bool IsPostDom> typename ChildrenGetterTy<BasicBlock, IsPostDom>::ChildrenTy -ChildrenGetterTy<BasicBlock, IsPostDom>::get( - const ChildrenGetterTy<BasicBlock, IsPostDom>::NodeRef &N) { +ChildrenGetterTy<BasicBlock, IsPostDom>::get(const NodeRef &N) { using OrderedNodeTy = typename IDFCalculatorBase<BasicBlock, IsPostDom>::OrderedNodeTy; diff --git a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h index fcd21339ef1..25eb7cd7b6d 100644 --- a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h +++ b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h @@ -117,8 +117,7 @@ namespace IDFCalculatorDetail { template <class NodeTy, bool IsPostDom> typename ChildrenGetterTy<NodeTy, IsPostDom>::ChildrenTy -ChildrenGetterTy<NodeTy, IsPostDom>::get( - const ChildrenGetterTy<NodeTy, IsPostDom>::NodeRef &N) { +ChildrenGetterTy<NodeTy, IsPostDom>::get(const NodeRef &N) { using OrderedNodeTy = typename IDFCalculatorBase<NodeTy, IsPostDom>::OrderedNodeTy; |