[cfe-commits] r160063 - /cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h
Daniel Jasper
djasper at google.com
Wed Jul 11 12:22:37 PDT 2012
Author: djasper
Date: Wed Jul 11 14:22:37 2012
New Revision: 160063
URL: http://llvm.org/viewvc/llvm-project?rev=160063&view=rev
Log:
Move CompileAssert into namespace clang::ast_matchers:: to avoid naming
collisions until it is properly integrated in llvm/Support.
Modified:
cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h
Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h?rev=160063&r1=160062&r2=160063&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h Wed Jul 11 14:22:37 2012
@@ -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 {
More information about the cfe-commits
mailing list