From 0c7708b57169625475c94cc7f0783c8fc5ecdb13 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 7 May 2012 22:22:58 +0000 Subject: [libclang] Put the RecursiveASTVisitor in libclang in a cxindex namespace. llvm-svn: 156331 --- clang/tools/libclang/RecursiveASTVisitor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/tools/libclang/RecursiveASTVisitor.h') diff --git a/clang/tools/libclang/RecursiveASTVisitor.h b/clang/tools/libclang/RecursiveASTVisitor.h index e4cf489c239..8f244f1c986 100644 --- a/clang/tools/libclang/RecursiveASTVisitor.h +++ b/clang/tools/libclang/RecursiveASTVisitor.h @@ -65,6 +65,7 @@ OPERATOR(Shl) OPERATOR(Shr) OPERATOR(And) OPERATOR(Or) OPERATOR(Xor) namespace clang { +namespace cxindex { // A helper macro to implement short-circuiting when recursing. It // invokes CALL_EXPR, which must be a method call, on the derived @@ -2238,6 +2239,7 @@ DEF_TRAVERSE_STMT(AsTypeExpr, { }) #undef TRY_TO +} // end namespace cxindex } // end namespace clang #endif // LLVM_CLANG_LIBCLANG_RECURSIVEASTVISITOR_H -- cgit v1.2.3