[cfe-commits] r160172 - /cfe/trunk/lib/Parse/Parser.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Jul 13 06:25:11 PDT 2012
Author: d0k
Date: Fri Jul 13 08:25:11 2012
New Revision: 160172
URL: http://llvm.org/viewvc/llvm-project?rev=160172&view=rev
Log:
Move helper class into an anonymous namespace.
Modified:
cfe/trunk/lib/Parse/Parser.cpp
Modified: cfe/trunk/lib/Parse/Parser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/Parser.cpp?rev=160172&r1=160171&r2=160172&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/Parser.cpp (original)
+++ cfe/trunk/lib/Parse/Parser.cpp Fri Jul 13 08:25:11 2012
@@ -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 @@
return false;
}
};
+} // end anonymous namespace
IdentifierInfo *Parser::getSEHExceptKeyword() {
// __except is accepted as a (contextual) keyword
More information about the cfe-commits
mailing list