]> granicus.if.org Git - llvm/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365913 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 1fa1db537860f6410a564adc6d1d3ddd8122b3ed..7c826780c3185fe0c323c165312a5d5ed228f8ce 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 fcd21339ef1f5390d1dd8982469c835479a27316..25eb7cd7b6d5741175b48a273448c82be4c6b193 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;