]> granicus.if.org Git - clang/commitdiff
Move helper class into an anonymous namespace.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 13 Jul 2012 13:25:11 +0000 (13:25 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 13 Jul 2012 13:25:11 +0000 (13:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160172 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/Parser.cpp

index d0c988d1dbf3d6fcd52202a4d4cedf85d1bfb93d..e95af05411185f59781eb2fa54feb3f5a135c41f 100644 (file)
@@ -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