]> granicus.if.org Git - clang/commitdiff
Move CompileAssert into namespace clang::ast_matchers:: to avoid naming
authorDaniel Jasper <djasper@google.com>
Wed, 11 Jul 2012 19:22:37 +0000 (19:22 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 11 Jul 2012 19:22:37 +0000 (19:22 +0000)
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

include/clang/ASTMatchers/ASTMatchersInternal.h

index d9e4c2100098abccbef1dbc83dd54269af79abf2..5039c52915b4f59573e956e34f460ad0fe51ada1 100644 (file)
 #include <string>
 #include <vector>
 
+namespace clang {
+namespace ast_matchers {
+
 /// FIXME: Move into the llvm support library.
 template <bool> 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 {