From: Daniel Jasper Date: Wed, 11 Jul 2012 19:22:37 +0000 (+0000) Subject: Move CompileAssert into namespace clang::ast_matchers:: to avoid naming X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2db5abb43b7a7fce4771063f6a5de561780c1335;p=clang Move CompileAssert into namespace clang::ast_matchers:: to avoid naming collisions until it is properly integrated in llvm/Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160063 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/ASTMatchersInternal.h b/include/clang/ASTMatchers/ASTMatchersInternal.h index d9e4c21000..5039c52915 100644 --- a/include/clang/ASTMatchers/ASTMatchersInternal.h +++ b/include/clang/ASTMatchers/ASTMatchersInternal.h @@ -44,14 +44,14 @@ #include #include +namespace clang { +namespace ast_matchers { + /// FIXME: Move into the llvm support library. template struct CompileAssert {}; #define TOOLING_COMPILE_ASSERT(Expr, Msg) \ typedef CompileAssert<(bool(Expr))> Msg[bool(Expr) ? 1 : -1] -namespace clang { -namespace ast_matchers { - class BoundNodes; namespace internal {