[llvm] r365913 - Minor cleanup.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 09:13:29 PDT 2019


Author: tra
Date: Fri Jul 12 09:13:29 2019
New Revision: 365913

URL: http://llvm.org/viewvc/llvm-project?rev=365913&view=rev
Log:
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

Modified:
    llvm/trunk/include/llvm/Analysis/IteratedDominanceFrontier.h
    llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h

Modified: llvm/trunk/include/llvm/Analysis/IteratedDominanceFrontier.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/IteratedDominanceFrontier.h?rev=365913&r1=365912&r2=365913&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/IteratedDominanceFrontier.h (original)
+++ llvm/trunk/include/llvm/Analysis/IteratedDominanceFrontier.h Fri Jul 12 09:13:29 2019
@@ -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;

Modified: llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h?rev=365913&r1=365912&r2=365913&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h (original)
+++ llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h Fri Jul 12 09:13:29 2019
@@ -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;
 




More information about the llvm-commits mailing list