Lines Matching defs:Preprocessor

1 //===--- Preprocess.cpp - C Language Family Preprocessor Implementation ---===//
10 // This file implements the Preprocessor interface.
28 #include "clang/Lex/Preprocessor.h"
57 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
139 Preprocessor::~Preprocessor() {
175 void Preprocessor::Initialize(const TargetInfo &Target) {
185 void Preprocessor::setPTHManager(PTHManager* pm) {
190 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const {
214 void Preprocessor::DumpLocation(SourceLocation Loc) const {
218 void Preprocessor::DumpMacro(const MacroInfo &MI) const {
227 void Preprocessor::PrintStats() {
228 llvm::errs() << "\n*** Preprocessor Stats:\n";
263 Preprocessor::macro_iterator
264 Preprocessor::macro_begin(bool IncludeExternalMacros) const {
274 size_t Preprocessor::getTotalMemory() const {
284 Preprocessor::macro_iterator
285 Preprocessor::macro_end(bool IncludeExternalMacros) const {
302 StringRef Preprocessor::getLastMacroWithSpelling(
307 for (Preprocessor::macro_iterator I = macro_begin(), E = macro_end();
329 void Preprocessor::recomputeCurLexerKind() {
340 bool Preprocessor::SetCodeCompletionPoint(const FileEntry *File,
391 void Preprocessor::CodeCompleteNaturalLanguage() {
400 StringRef Preprocessor::getSpelling(const Token &Tok,
422 void Preprocessor::CreateString(StringRef Str, Token &Tok,
442 Module *Preprocessor::getCurrentModule() {
450 // Preprocessor Initialization Methods
456 void Preprocessor::EnterMainSourceFile() {
493 void Preprocessor::EndSourceFile() {
506 IdentifierInfo *Preprocessor::LookUpIdentifierInfo(Token &Identifier) const {
535 void Preprocessor::SetPoisonReason(IdentifierInfo *II, unsigned DiagID) {
539 void Preprocessor::PoisonSEHIdentifiers(bool Poison) {
553 void Preprocessor::HandlePoisonedIdentifier(Token & Identifier) {
572 bool Preprocessor::HandleIdentifier(Token &Identifier) {
662 void Preprocessor::Lex(Token &Result) {
693 void Preprocessor::LexAfterModuleImport(Token &Result) {
735 bool Preprocessor::FinishLexStringLiteral(Token &Result, std::string &String,
776 bool Preprocessor::parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value) {
794 void Preprocessor::addCommentHandler(CommentHandler *Handler) {
801 void Preprocessor::removeCommentHandler(CommentHandler *Handler) {
808 bool Preprocessor::HandleComment(Token &result, SourceRange Comment) {
828 void Preprocessor::createPreprocessingRecord() {