| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPCaching.cpp | 17 std::pair<Preprocessor::CachedTokensTy::size_type, bool> 18 Preprocessor::LastBacktrackPos() { in LastBacktrackPos() 34 void Preprocessor::EnableBacktrackAtThisPos(bool Unannotated) { in EnableBacktrackAtThisPos() 42 Preprocessor::CachedTokensTy Preprocessor::PopUnannotatedBacktrackTokens() { in PopUnannotatedBacktrackTokens() 56 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens() 66 void Preprocessor::Backtrack() { in Backtrack() 76 void Preprocessor::CachingLex(Token &Result) { in CachingLex() 112 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode() 128 void Preprocessor::EnterCachingLexModeUnchecked() { in EnterCachingLexModeUnchecked() 135 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead() [all …]
|
| H A D | Preprocessor.cpp | 81 Preprocessor::Preprocessor(const PreprocessorOptions &PPOpts, in Preprocessor() function in Preprocessor 170 Preprocessor::~Preprocessor() { in ~Preprocessor() 190 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize() 218 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile() 230 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile() 236 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken() 262 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation() 266 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 275 void Preprocessor::PrintStats() { in PrintStats() 313 Preprocessor::macro_iterator [all …]
|
| H A D | Pragma.cpp | 63 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() 103 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() 132 Preprocessor &Self; 163 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) { in HandlePragmaDirective() 185 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma() 354 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma() 413 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce() 428 void Preprocessor::HandlePragmaMark(Token &MarkTok) { in HandlePragmaMark() 438 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison() 480 void Preprocessor::HandlePragmaSystemHeader(Token &SysHeaderTok) { in HandlePragmaSystemHeader() [all …]
|
| H A D | PPLexerChange.cpp | 34 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile() 49 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer() 68 bool Preprocessor::EnterSourceFile(FileID FID, ConstSearchDirIterator CurDir, in EnterSourceFile() 106 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() 144 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro() 173 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() 240 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo() 259 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos() 283 void Preprocessor::diagnoseMissingHeaderInUmbrellaDir(const Module &Mod) { in diagnoseMissingHeaderInUmbrellaDir() 325 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile() [all …]
|
| H A D | PPDirectives.cpp | 62 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 67 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 73 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() 78 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, in AllocateVisibilityMacroDirective() 85 SourceRange Preprocessor::DiscardUntilEndOfDirective(Token &Tmp) { in DiscardUntilEndOfDirective() 178 static bool isReservedCXXAttributeName(Preprocessor &PP, IdentifierInfo *II) { in isReservedCXXAttributeName() 194 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroDef() 208 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroUndef() 342 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName() 413 void Preprocessor::ReadMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in ReadMacroName() [all …]
|
| H A D | MacroArgs.cpp | 25 bool VarargsElided, Preprocessor &PP) { in create() 77 void MacroArgs::destroy(Preprocessor &PP) { in destroy() 136 Preprocessor &PP) { in invokedWithVariadicArgument() 146 Preprocessor &PP) const { in ArgNeedsPreexpansion() 161 Preprocessor &PP) { in getPreExpArgument() 208 Preprocessor &PP, bool Charify, in StringifyArgument()
|
| H A D | PPMacroExpansion.cpp | 61 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory() 69 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 94 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective() 130 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro() 169 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, in getModuleMacro() 178 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo() 256 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo() 324 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros() 393 Preprocessor &PP) { in isTrivialSingleTokenExpansion() 423 bool Preprocessor::HandleMacroExpandedIdentifier(Token &Identifier, in HandleMacroExpandedIdentifier() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroArgs.h | 24 class Preprocessor; variable 68 bool VarargsElided, Preprocessor &PP); 72 void destroy(Preprocessor &PP); 76 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const; 91 getPreExpArgument(unsigned Arg, Preprocessor &PP); 117 bool invokedWithVariadicArgument(const MacroInfo *const MI, Preprocessor &PP); 125 Preprocessor &PP, bool Charify,
|
| H A D | TokenLexer.h | 23 class Preprocessor; variable 31 friend class Preprocessor; variable 41 Preprocessor &PP; 109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 118 bool ownsTokens, bool isReinject, Preprocessor &pp) in TokenLexer() 238 Preprocessor &PP);
|
| H A D | Pragma.h | 25 class Preprocessor; variable 74 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 88 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 120 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
|
| H A D | TokenConcatenation.h | 19 class Preprocessor; variable 31 const Preprocessor &PP; 58 TokenConcatenation(const Preprocessor &PP);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
| H A D | Rewriters.h | 19 class Preprocessor; variable 23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 22 class Preprocessor; variable 31 Preprocessor &PP; 73 const MacroInfo &MI, Preprocessor &PP, 90 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Index/ |
| H A D | IndexingAction.h | 39 std::shared_ptr<Preprocessor> PP); 43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, 58 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
| H A D | HTMLRewrite.h | 27 class Preprocessor; variable 82 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP, 89 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP,
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 102 std::shared_ptr<Preprocessor> PP; 108 std::shared_ptr<Preprocessor> PP, in IndexASTConsumer() 171 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, in createIndexingASTConsumer() 179 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) { in createIndexingASTConsumer() 230 static void indexPreprocessorMacros(Preprocessor &PP, in indexPreprocessorMacros() 240 static void indexPreprocessorModuleMacros(Preprocessor &PP, in indexPreprocessorModuleMacros() 271 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP, in indexTopLevelDecls()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTWriter.h | 69 class Preprocessor; variable 128 Preprocessor *PP = nullptr; 572 void WriteControlBlock(Preprocessor &PP, StringRef isysroot); 575 void writeUnhashedControlBlock(Preprocessor &PP); 584 void WritePreprocessor(const Preprocessor &PP, bool IsModule); 617 void WriteIdentifierTable(Preprocessor &PP, IdentifierResolver *IdResolver, 719 ASTFileSignature WriteAST(llvm::PointerUnion<Sema *, Preprocessor *> Subject, 976 Preprocessor &PP; 977 llvm::PointerUnion<Sema *, Preprocessor *> Subject; 995 Preprocessor &getPreprocessor() { return PP; } in getPreprocessor() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 36 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 42 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 48 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 54 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 61 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 70 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 76 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 82 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 88 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 94 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | HTMLPrint.cpp | 35 Preprocessor &PP; 39 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp, in HTMLPrinter() 50 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 15 static void dumpTokenInto(const clang::Preprocessor &PP, llvm::raw_ostream &OS, 21 const Preprocessor &PP; 27 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() 89 void MacroExpansionContext::registerForPreprocessor(Preprocessor &NewPP) { in registerForPreprocessor() 177 static void dumpTokenInto(const Preprocessor &PP, raw_ostream &OS, Token Tok) { in dumpTokenInto()
|
| H A D | ReachableCode.cpp | 150 Preprocessor &PP, in isExpandedFromConfigurationMacro() 179 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP); 189 Preprocessor &PP, in isConfigurationValue() 273 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue() 296 Preprocessor &PP) { in shouldTreatSuccessorsAsReachable() 318 Preprocessor *PP, in scanFromBlock() 383 Preprocessor &PP, in scanMaybeReachableFromBlock() 397 Preprocessor &PP; 406 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C) in DeadCodeScan() 733 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, in FindUnreachableCode()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | RISCVIntrinsicManager.h | 22 class Preprocessor; variable 36 Preprocessor &PP) = 0;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | ParseAST.h | 19 class Preprocessor; variable 38 void ParseAST(Preprocessor &pp, ASTConsumer *C,
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | AnalysisManager.h | 36 Preprocessor &PP; 49 AnalysisManager(ASTContext &ctx, Preprocessor &PP, 66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 57 class Preprocessor; variable 110 std::shared_ptr<Preprocessor> PP; 481 Preprocessor &getPreprocessor() const { in getPreprocessor() 486 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; } in getPreprocessorPtr() 489 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP)); in resetAndLeakPreprocessor() 493 void setPreprocessor(std::shared_ptr<Preprocessor> Value); 721 bool AllowPCHWithCompilerErrors, Preprocessor &PP, ModuleCache &ModCache, 736 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
|