]> granicus.if.org Git - clang/commitdiff
Add missing declarations of explicit member specializations.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 8 Jul 2019 19:45:46 +0000 (19:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 8 Jul 2019 19:45:46 +0000 (19:45 +0000)
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

include/clang/Analysis/Analyses/Dominators.h

index bc672eb7d52f35cb17ebf1750b1db0bdd23ab88c..061c98137da29c6556dc4495d6646f8226239453 100644 (file)
@@ -184,6 +184,9 @@ private:
 using CFGDomTree = CFGDominatorTreeImpl</*IsPostDom*/ false>;
 using CFGPostDomTree = CFGDominatorTreeImpl</*IsPostDom*/ true>;
 
+template<> void CFGDominatorTreeImpl<true>::anchor();
+template<> void CFGDominatorTreeImpl<false>::anchor();
+
 } // end of namespace clang
 
 namespace llvm {