clang API Documentation
#include <ParsePragma.h>


Public Member Functions | |
| PragmaPackHandler (Sema &A) | |
| virtual void | HandlePragma (Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstToken) |
Definition at line 52 of file ParsePragma.h.
| clang::PragmaPackHandler::PragmaPackHandler | ( | Sema & | A | ) | [inline, explicit] |
Definition at line 55 of file ParsePragma.h.
| void PragmaPackHandler::HandlePragma | ( | Preprocessor & | PP, |
| PragmaIntroducerKind | Introducer, | ||
| Token & | FirstToken | ||
| ) | [virtual] |
Implements clang::PragmaHandler.
Definition at line 119 of file ParsePragma.cpp.
References clang::Sema::ActOnNumericConstant(), PragmaPackInfo::Alignment, clang::Preprocessor::Diag(), clang::Preprocessor::EnterTokenStream(), clang::Token::getIdentifierInfo(), clang::Preprocessor::getLangOpts(), clang::Token::getLocation(), clang::Preprocessor::getPreprocessorAllocator(), clang::Token::is(), clang::ActionResult< PtrTy, CompressInvalid >::isInvalid(), clang::Token::isNot(), clang::IdentifierInfo::isStr(), PragmaPackInfo::Kind, clang::Preprocessor::Lex(), PragmaPackInfo::LParenLoc, PragmaPackInfo::Name, clang::Sema::PPK_Default, clang::Sema::PPK_Pop, clang::Sema::PPK_Push, clang::Sema::PPK_Show, clang::ActionResult< PtrTy, CompressInvalid >::release(), PragmaPackInfo::RParenLoc, clang::Token::setAnnotationValue(), clang::Token::setKind(), clang::Token::setLocation(), and clang::Token::startToken().