diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-13 13:25:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-13 13:25:11 +0000 |
commit | 69b5e952c56f95673064ad1815a240e0fb595865 (patch) | |
tree | ad14f36f4fe0df876035dadb7664e33131daedd5 /lib/Parse/Parser.cpp | |
parent | 7bf9d9b1da8a48b2068510ab57f0e8e545f6f835 (diff) |
Move helper class into an anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |