Move helper class into an anonymous namespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2012-07-13 13:25:11 +00:00
Родитель 7bf9d9b1da
Коммит 69b5e952c5
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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