Lines Matching refs:Preprocessor

79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts,  in Preprocessor()  function in Preprocessor
168 Preprocessor::~Preprocessor() { in ~Preprocessor()
188 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize()
216 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile()
228 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
234 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken()
260 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation()
264 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro()
273 void Preprocessor::PrintStats() { in PrintStats()
311 Preprocessor::macro_iterator
312 Preprocessor::macro_begin(bool IncludeExternalMacros) const { in macro_begin()
326 size_t Preprocessor::getTotalMemory() const { in getTotalMemory()
338 Preprocessor::macro_iterator
339 Preprocessor::macro_end(bool IncludeExternalMacros) const { in macro_end()
356 StringRef Preprocessor::getLastMacroWithSpelling( in getLastMacroWithSpelling()
361 for (Preprocessor::macro_iterator I = macro_begin(), E = macro_end(); in getLastMacroWithSpelling()
383 void Preprocessor::recomputeCurLexerKind() { in recomputeCurLexerKind()
394 bool Preprocessor::SetCodeCompletionPoint(FileEntryRef File, in SetCodeCompletionPoint()
449 void Preprocessor::CodeCompleteIncludedFile(llvm::StringRef Dir, in CodeCompleteIncludedFile()
456 void Preprocessor::CodeCompleteNaturalLanguage() { in CodeCompleteNaturalLanguage()
465 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling()
487 void Preprocessor::CreateString(StringRef Str, Token &Tok, in CreateString()
507 SourceLocation Preprocessor::SplitToken(SourceLocation Loc, unsigned Length) { in SplitToken()
523 Module *Preprocessor::getCurrentModule() { in getCurrentModule()
530 Module *Preprocessor::getCurrentModuleImplementation() { in getCurrentModuleImplementation()
543 void Preprocessor::EnterMainSourceFile() { in EnterMainSourceFile()
603 void Preprocessor::setPCHThroughHeaderFileID(FileID FID) { in setPCHThroughHeaderFileID()
609 bool Preprocessor::isPCHThroughHeader(const FileEntry *FE) { in isPCHThroughHeader()
615 bool Preprocessor::creatingPCHWithThroughHeader() { in creatingPCHWithThroughHeader()
620 bool Preprocessor::usingPCHWithThroughHeader() { in usingPCHWithThroughHeader()
625 bool Preprocessor::creatingPCHWithPragmaHdrStop() { in creatingPCHWithPragmaHdrStop()
629 bool Preprocessor::usingPCHWithPragmaHdrStop() { in usingPCHWithPragmaHdrStop()
638 void Preprocessor::SkipTokensWhileUsingPCH() { in SkipTokensWhileUsingPCH()
665 void Preprocessor::replayPreambleConditionalStack() { in replayPreambleConditionalStack()
682 void Preprocessor::EndSourceFile() { in EndSourceFile()
695 IdentifierInfo *Preprocessor::LookUpIdentifierInfo(Token &Identifier) const { in LookUpIdentifierInfo()
730 void Preprocessor::SetPoisonReason(IdentifierInfo *II, unsigned DiagID) { in SetPoisonReason()
734 void Preprocessor::PoisonSEHIdentifiers(bool Poison) { in PoisonSEHIdentifiers()
748 void Preprocessor::HandlePoisonedIdentifier(Token & Identifier) { in HandlePoisonedIdentifier()
759 void Preprocessor::updateOutOfDateIdentifier(IdentifierInfo &II) const { in updateOutOfDateIdentifier()
772 bool Preprocessor::HandleIdentifier(Token &Identifier) { in HandleIdentifier()
865 void Preprocessor::Lex(Token &Result) { in Lex()
969 void Preprocessor::LexTokensUntilEOF(std::vector<Token> *Tokens) { in LexTokensUntilEOF()
992 bool Preprocessor::LexHeaderName(Token &FilenameTok, bool AllowMacroExpansion) { in LexHeaderName()
1081 void Preprocessor::CollectPpImportSuffix(SmallVectorImpl<Token> &Toks) { in CollectPpImportSuffix()
1135 bool Preprocessor::LexAfterModuleImport(Token &Result) { in LexAfterModuleImport()
1324 void Preprocessor::makeModuleVisible(Module *M, SourceLocation Loc) { in makeModuleVisible()
1341 bool Preprocessor::FinishLexStringLiteral(Token &Result, std::string &String, in FinishLexStringLiteral()
1382 bool Preprocessor::parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value) { in parseSimpleIntegerLiteral()
1402 void Preprocessor::addCommentHandler(CommentHandler *Handler) { in addCommentHandler()
1409 void Preprocessor::removeCommentHandler(CommentHandler *Handler) { in removeCommentHandler()
1416 bool Preprocessor::HandleComment(Token &result, SourceRange Comment) { in HandleComment()
1430 void Preprocessor::emitMacroDeprecationWarning(const Token &Identifier) const { in emitMacroDeprecationWarning()
1445 void Preprocessor::emitRestrictExpansionWarning(const Token &Identifier) const { in emitRestrictExpansionWarning()
1460 void Preprocessor::emitRestrictInfNaNWarning(const Token &Identifier, in emitRestrictInfNaNWarning()
1465 void Preprocessor::emitFinalMacroWarning(const Token &Identifier, in emitFinalMacroWarning()
1477 bool Preprocessor::isSafeBufferOptOut(const SourceManager &SourceMgr, in isSafeBufferOptOut()
1501 bool Preprocessor::enterOrExitSafeBufferOptOutRegion( in enterOrExitSafeBufferOptOutRegion()
1538 bool Preprocessor::isPPInSafeBufferOptOutRegion() { in isPPInSafeBufferOptOutRegion()
1541 bool Preprocessor::isPPInSafeBufferOptOutRegion(SourceLocation &StartLoc) { in isPPInSafeBufferOptOutRegion()
1554 void Preprocessor::createPreprocessingRecord() { in createPreprocessingRecord()