When specializing a template in a namespace, it has to be in a namespace
block, else gcc will get confused. Hopefully this fixes the issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365030
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "clang/Analysis/Analyses/Dominators.h"
-using namespace clang;
+namespace clang {
template <>
-void clang::CFGDominatorTreeImpl</*IsPostDom=*/true>::anchor() {}
+void CFGDominatorTreeImpl</*IsPostDom=*/true>::anchor() {}
template <>
-void clang::CFGDominatorTreeImpl</*IsPostDom=*/false>::anchor() {}
+void CFGDominatorTreeImpl</*IsPostDom=*/false>::anchor() {}
+
+} // end of namespace clang