From: Artem Belevich Date: Fri, 12 Jul 2019 16:13:29 +0000 (+0000) Subject: Minor cleanup. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63869709ec05f839bff88c2ff4956c0d32edb9cb;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365913 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/IteratedDominanceFrontier.h b/include/llvm/Analysis/IteratedDominanceFrontier.h index 1fa1db53786..7c826780c31 100644 --- a/include/llvm/Analysis/IteratedDominanceFrontier.h +++ b/include/llvm/Analysis/IteratedDominanceFrontier.h @@ -63,8 +63,7 @@ namespace IDFCalculatorDetail { template typename ChildrenGetterTy::ChildrenTy -ChildrenGetterTy::get( - const ChildrenGetterTy::NodeRef &N) { +ChildrenGetterTy::get(const NodeRef &N) { using OrderedNodeTy = typename IDFCalculatorBase::OrderedNodeTy; diff --git a/include/llvm/Support/GenericIteratedDominanceFrontier.h b/include/llvm/Support/GenericIteratedDominanceFrontier.h index fcd21339ef1..25eb7cd7b6d 100644 --- a/include/llvm/Support/GenericIteratedDominanceFrontier.h +++ b/include/llvm/Support/GenericIteratedDominanceFrontier.h @@ -117,8 +117,7 @@ namespace IDFCalculatorDetail { template typename ChildrenGetterTy::ChildrenTy -ChildrenGetterTy::get( - const ChildrenGetterTy::NodeRef &N) { +ChildrenGetterTy::get(const NodeRef &N) { using OrderedNodeTy = typename IDFCalculatorBase::OrderedNodeTy;