From: Benjamin Kramer Date: Fri, 13 Jul 2012 13:25:11 +0000 (+0000) Subject: Move helper class into an anonymous namespace. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69b5e952c56f95673064ad1815a240e0fb595865;p=clang Move helper class into an anonymous namespace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160172 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index d0c988d1db..e95af05411 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -23,6 +23,7 @@ #include "clang/AST/ASTConsumer.h" using namespace clang; +namespace { /// \brief A comment handler that passes comments found by the preprocessor /// to the parser action. class ActionCommentHandler : public CommentHandler { @@ -36,6 +37,7 @@ public: return false; } }; +} // end anonymous namespace IdentifierInfo *Parser::getSEHExceptKeyword() { // __except is accepted as a (contextual) keyword