diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-05-06 21:02:12 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-05-06 21:02:12 +0000 |
commit | 7adf79a620cb7fbde0608e21727425930676b7db (patch) | |
tree | 32a98df7fe7e34c81142653890023628fc9cdebd /lib/Parse/ParsePragma.h | |
parent | bdfdb1da9763b3d0966eb61e9fa0fa7804f9eb9b (diff) |
Move PragmaCommentHandler to lib/Parse in preparation for calling Sema
Summary:
No functionality change. The existing tests for this pragma only verify
that we can preprocess it.
Reviewers: rsmith
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D751
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParsePragma.h')
-rw-r--r-- | lib/Parse/ParsePragma.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Parse/ParsePragma.h b/lib/Parse/ParsePragma.h index 841a60be7b..d9560f3181 100644 --- a/lib/Parse/ParsePragma.h +++ b/lib/Parse/ParsePragma.h @@ -113,6 +113,14 @@ public: Token &FirstToken); }; +/// PragmaCommentHandler - "\#pragma comment ...". +class PragmaCommentHandler : public PragmaHandler { +public: + PragmaCommentHandler() : PragmaHandler("comment") {} + virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, + Token &FirstToken); +}; + } // end namespace clang #endif |