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

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 10:18:57 PDT 2017


Merged to 5.0 in r312014.

On Sat, Aug 26, 2017 at 2:08 PM, Don Hinton via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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
>  //===----------------------------------------------------------------------===//
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list