diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-07-08 19:45:46 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-07-08 19:45:46 +0000 |
| commit | 4ce376cedcaa7643e69eb33e73a12d80533b1b1f (patch) | |
| tree | 66c8c268dfc845571b4b6c2424a07153c08a9a39 | |
| parent | 5de4692cc7464cd18541dfc7366006464e540ff2 (diff) | |
| download | bcm5719-llvm-4ce376cedcaa7643e69eb33e73a12d80533b1b1f.tar.gz bcm5719-llvm-4ce376cedcaa7643e69eb33e73a12d80533b1b1f.zip | |
Add missing declarations of explicit member specializations.
This should fix the build under -Wundefined-func-template and certain
versions of GCC.
llvm-svn: 365377
| -rw-r--r-- | clang/include/clang/Analysis/Analyses/Dominators.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Analysis/Analyses/Dominators.h b/clang/include/clang/Analysis/Analyses/Dominators.h index bc672eb7d52..061c98137da 100644 --- a/clang/include/clang/Analysis/Analyses/Dominators.h +++ b/clang/include/clang/Analysis/Analyses/Dominators.h @@ -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 { |

