Minor cleanup.
authorArtem Belevich <tra@google.com>
Fri, 12 Jul 2019 16:13:29 +0000 (16:13 +0000)
committerArtem Belevich <tra@google.com>
Fri, 12 Jul 2019 16:13:29 +0000 (16:13 +0000)
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

llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h

index 1fa1db5..7c82678 100644 (file)
@@ -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;
index fcd2133..25eb7cd 100644 (file)
@@ -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;