[llvm] r311835 - [Dominators] Remove redundant explicit template instantiation.

Don Hinton via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 26 14:08:51 PDT 2017


Author: dhinton
Date: Sat Aug 26 14:08:51 2017
New Revision: 311835

URL: http://llvm.org/viewvc/llvm-project?rev=311835&view=rev
Log:
[Dominators] Remove redundant explicit template instantiation.

Summary:
Remove redundant explicit template instantiation.

This was reported by Andrew Kelley building release_50 with gcc7.2.0 on MacOS: duplicate symbol llvm::DominatorTreeBase.

Reviewers: kuhar, andrewrk, davide, hans

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D37185

Modified:
    llvm/trunk/lib/Analysis/PostDominators.cpp

Modified: llvm/trunk/lib/Analysis/PostDominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/PostDominators.cpp?rev=311835&r1=311834&r2=311835&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/PostDominators.cpp (original)
+++ llvm/trunk/lib/Analysis/PostDominators.cpp Sat Aug 26 14:08:51 2017
@@ -21,8 +21,6 @@ using namespace llvm;
 
 #define DEBUG_TYPE "postdomtree"
 
-template class llvm::DominatorTreeBase<BasicBlock, true>; // PostDomTreeBase
-
 //===----------------------------------------------------------------------===//
 //  PostDominatorTree Implementation
 //===----------------------------------------------------------------------===//




More information about the llvm-commits mailing list