| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor 164 Preprocessor::~Preprocessor() { in ~Preprocessor() 235 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile() 280 void Preprocessor::PrintStats() { in PrintStats() 318 Preprocessor::macro_iterator 345 Preprocessor::macro_iterator 390 void Preprocessor::recomputeCurLexerKind() { in recomputeCurLexerKind() 531 Module *Preprocessor::getCurrentModule() { in getCurrentModule() 544 void Preprocessor::EnterMainSourceFile() { in EnterMainSourceFile() 699 void Preprocessor::EndSourceFile() { in EndSourceFile() [all …]
|
| H A D | PPCaching.cpp | 25 void Preprocessor::EnableBacktrackAtThisPos() { in EnableBacktrackAtThisPos() 32 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens() 40 void Preprocessor::Backtrack() { in Backtrack() 48 void Preprocessor::CachingLex(Token &Result) { in CachingLex() 82 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode() 98 void Preprocessor::EnterCachingLexModeUnchecked() { in EnterCachingLexModeUnchecked() 105 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead() 116 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens() 139 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken() 157 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken()
|
| H A D | Pragma.cpp | 106 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() 135 Preprocessor &Self; 188 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma() 430 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison() 759 Preprocessor &PP, Token &Tok, in LexModuleNameComponent() 780 Preprocessor &PP, Token &Tok, in LexModuleName() 1135 Preprocessor &PP; in HandlePragma() 1194 void HandleCaptured(Preprocessor &PP) { in HandleCaptured() 1716 if (Preprocessor::checkModuleIsAvailable( in HandlePragma() 2067 void Preprocessor::RegisterBuiltinPragmas() { in RegisterBuiltinPragmas() [all …]
|
| H A D | PPLexerChange.cpp | 34 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile() 49 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer() 112 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() 150 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro() 247 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo() 266 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos() 586 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) { in HandleEndOfTokenLexer() 607 void Preprocessor::RemoveTopOfLexerStack() { in RemoveTopOfLexerStack() 624 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste() 748 bool Preprocessor::needModuleMacros() const { in needModuleMacros() [all …]
|
| H A D | PPDirectives.cpp | 83 SourceRange Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective() 516 Preprocessor &PP; in SkipExcludedConditionalBlock() 946 Optional<FileEntryRef> Preprocessor::LookupFile( in LookupFile() 1082 class Preprocessor::ResetMacroExpansionHelper { 1084 ResetMacroExpansionHelper(Preprocessor *pp) in ResetMacroExpansionHelper() 1095 Preprocessor *PP; 1392 void Preprocessor::HandleLineDirective() { in HandleLineDirective() 1714 void Preprocessor::HandleMacroPrivateDirective() { in HandleMacroPrivateDirective() 2108 Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport( in HandleHeaderIncludeOrImport() 3021 void Preprocessor::HandleDefineDirective( in HandleDefineDirective() [all …]
|
| H A D | MacroArgs.cpp | 26 bool VarargsElided, Preprocessor &PP) { in create() 78 void MacroArgs::destroy(Preprocessor &PP) { in destroy() 137 Preprocessor &PP) { in invokedWithVariadicArgument() 147 Preprocessor &PP) const { in ArgNeedsPreexpansion() 162 Preprocessor &PP) { in getPreExpArgument() 209 Preprocessor &PP, bool Charify, in StringifyArgument()
|
| /llvm-project-15.0.7/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 | PreprocessorLexer.h | 28 class Preprocessor; variable 34 friend class Preprocessor; 37 Preprocessor *PP = nullptr; 79 PreprocessorLexer(Preprocessor *pp, FileID fid); 145 Preprocessor *getPP() const { return PP; } in getPP()
|
| 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 | VariadicMacroSupport.h | 22 class Preprocessor; variable 31 const Preprocessor &PP; 36 VariadicMacroScopeGuard(const Preprocessor &P) in VariadicMacroScopeGuard() 74 VAOptDefinitionContext(Preprocessor &PP) in VAOptDefinitionContext() 151 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
|
| H A D | TokenConcatenation.h | 19 class Preprocessor; variable 31 const Preprocessor &PP; 58 TokenConcatenation(const Preprocessor &PP);
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | Utils.h | 43 class Preprocessor; variable 49 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts, 54 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS, 65 virtual void attachToPreprocessor(Preprocessor &PP); 106 void attachToPreprocessor(Preprocessor &PP) override; 156 void attachToPreprocessor(Preprocessor &PP) override; 165 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 180 void AttachHeaderIncludeGen(Preprocessor &PP,
|
| /llvm-project-15.0.7/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,
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | BadSignalToKillThreadCheck.cpp | 29 static Preprocessor *PP; 37 [](Preprocessor::macro_iterator It) -> Optional<unsigned> { in check() 68 const SourceManager &SM, Preprocessor *Pp, Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| H A D | SuspiciousIncludeCheck.cpp | 22 Preprocessor *PP) in SuspiciousIncludePPCallbacks() 34 Preprocessor *PP; 68 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | AvoidUnderscoreInGoogletestNameCheck.cpp | 38 Preprocessor *PP, AvoidUnderscoreInGoogletestNameCheck *Check) in AvoidUnderscoreInGoogletestNameCallback() 75 Preprocessor *PP; 82 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| H A D | TodoCommentCheck.cpp | 24 bool HandleComment(Preprocessor &PP, SourceRange Range) override { in HandleComment() 61 Preprocessor *PP, in registerPPCallbacks() 62 Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ReplaceDisallowCopyAndAssignMacroCheck.cpp | 25 ReplaceDisallowCopyAndAssignMacroCheck &Check, Preprocessor &PP) in ReplaceDisallowCopyAndAssignMacroCallbacks() 69 Preprocessor &PP; 79 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| H A D | UseTrailingReturnTypeCheck.h | 37 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, 38 Preprocessor *ModuleExpanderPP) override; 42 Preprocessor *PP = nullptr;
|
| /llvm-project-15.0.7/clang/include/clang/Rewrite/Core/ |
| H A D | HTMLRewrite.h | 24 class Preprocessor; variable 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP); 76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantPreprocessorCheck.cpp | 36 Preprocessor &PP) in RedundantPreprocessorCallbacks() 94 Preprocessor &PP; 102 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { in registerPPCallbacks()
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | prescan.h | 32 class Preprocessor; variable 36 Prescanner(Messages &, CookedSource &, Preprocessor &, 44 const Preprocessor &preprocessor() const { return preprocessor_; } in preprocessor() 45 Preprocessor &preprocessor() { return preprocessor_; } in preprocessor() 190 Preprocessor &preprocessor_;
|
| /llvm-project-15.0.7/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,
|