[PATCH] D37185: [Dominators] Remove redundant explicit template instantiation.

don hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 26 13:40:41 PDT 2017


hintonda created this revision.

Remove redundant explicit template instantiation.

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


https://reviews.llvm.org/D37185

Files:
  lib/Analysis/PostDominators.cpp


Index: lib/Analysis/PostDominators.cpp
===================================================================
--- lib/Analysis/PostDominators.cpp
+++ lib/Analysis/PostDominators.cpp
@@ -21,8 +21,6 @@
 
 #define DEBUG_TYPE "postdomtree"
 
-template class llvm::DominatorTreeBase<BasicBlock, true>; // PostDomTreeBase
-
 //===----------------------------------------------------------------------===//
 //  PostDominatorTree Implementation
 //===----------------------------------------------------------------------===//


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37185.112798.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170826/110d2077/attachment.bin>


More information about the llvm-commits mailing list