aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2012-07-11 19:22:37 +0000
committerDaniel Jasper <djasper@google.com>2012-07-11 19:22:37 +0000
commit2db5abb43b7a7fce4771063f6a5de561780c1335 (patch)
tree91eb67b08e1959c66cb9e811a029eb039495c9bd
parent068040ede2b2e6449d84273cc16e62fcd5e7e541 (diff)
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
-rw-r--r--include/clang/ASTMatchers/ASTMatchersInternal.h6
1 files changed, 3 insertions, 3 deletions
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 <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 {