From: Richard Smith Date: Mon, 8 Jul 2019 19:45:46 +0000 (+0000) Subject: Add missing declarations of explicit member specializations. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fb1c12a695b8ebff152c319da69f4cc6e9542db;p=clang Add missing declarations of explicit member specializations. This should fix the build under -Wundefined-func-template and certain versions of GCC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365377 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/Dominators.h b/include/clang/Analysis/Analyses/Dominators.h index bc672eb7d5..061c98137d 100644 --- a/include/clang/Analysis/Analyses/Dominators.h +++ b/include/clang/Analysis/Analyses/Dominators.h @@ -184,6 +184,9 @@ private: using CFGDomTree = CFGDominatorTreeImpl; using CFGPostDomTree = CFGDominatorTreeImpl; +template<> void CFGDominatorTreeImpl::anchor(); +template<> void CFGDominatorTreeImpl::anchor(); + } // end of namespace clang namespace llvm {