Home
last modified time | relevance | path

Searched refs:Preprocessor (Results 1 – 25 of 151) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor
168 Preprocessor::~Preprocessor() { in ~Preprocessor()
228 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
273 void Preprocessor::PrintStats() { in PrintStats()
311 Preprocessor::macro_iterator
338 Preprocessor::macro_iterator
383 void Preprocessor::recomputeCurLexerKind() { in recomputeCurLexerKind()
523 Module *Preprocessor::getCurrentModule() { in getCurrentModule()
543 void Preprocessor::EnterMainSourceFile() { in EnterMainSourceFile()
682 void Preprocessor::EndSourceFile() { in EndSourceFile()
[all …]
H A DPPCaching.cpp25 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 DPragma.cpp107 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
136 Preprocessor &Self;
189 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
442 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison()
771 Preprocessor &PP, Token &Tok, in LexModuleNameComponent()
792 Preprocessor &PP, Token &Tok, in LexModuleName()
1138 Preprocessor &PP; in HandlePragma()
1214 void HandleCaptured(Preprocessor &PP) { in HandleCaptured()
1771 if (Preprocessor::checkModuleIsAvailable( in HandlePragma()
2131 void Preprocessor::RegisterBuiltinPragmas() { in RegisterBuiltinPragmas()
[all …]
H A DPPLexerChange.cpp35 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
50 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
113 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
151 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
247 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
266 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
602 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) { in HandleEndOfTokenLexer()
623 void Preprocessor::RemoveTopOfLexerStack() { in RemoveTopOfLexerStack()
640 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste()
764 bool Preprocessor::needModuleMacros() const { in needModuleMacros()
[all …]
H A DPPDirectives.cpp85 SourceRange Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective()
516 Preprocessor &PP; in SkipExcludedConditionalBlock()
951 OptionalFileEntryRef Preprocessor::LookupFile( in LookupFile()
1080 class Preprocessor::ResetMacroExpansionHelper {
1082 ResetMacroExpansionHelper(Preprocessor *pp) in ResetMacroExpansionHelper()
1093 Preprocessor *PP;
1398 void Preprocessor::HandleLineDirective() { in HandleLineDirective()
1720 void Preprocessor::HandleMacroPrivateDirective() { in HandleMacroPrivateDirective()
2144 Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport( in HandleHeaderIncludeOrImport()
3067 void Preprocessor::HandleDefineDirective( in HandleDefineDirective()
[all …]
H A DMacroArgs.cpp26 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()
H A DPPMacroExpansion.cpp96 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
171 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, in getModuleMacro()
258 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
339 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros()
409 Preprocessor &PP) { in isTrivialSingleTokenExpansion()
440 bool Preprocessor::isNextPPTokenLParen() { in isNextPPTokenLParen()
672 static bool GenerateNewArgTokens(Preprocessor &PP, in GenerateNewArgTokens()
1089 Preprocessor &PP) { in ComputeDATE_TIME()
1183 Preprocessor &PP, in EvaluateHasIncludeCommon()
1498 void Preprocessor::ExpandBuiltinMacro(Token &Tok) { in ExpandBuiltinMacro()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroArgs.h24 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 DTokenLexer.h23 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 DPreprocessorLexer.h28 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 DPragma.h25 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 DVariadicMacroSupport.h22 class Preprocessor; variable
31 const Preprocessor &PP;
36 VariadicMacroScopeGuard(const Preprocessor &P) in VariadicMacroScopeGuard()
74 VAOptDefinitionContext(Preprocessor &PP) in VAOptDefinitionContext()
156 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
H A DTokenConcatenation.h19 class Preprocessor; variable
31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h43 class Preprocessor; variable
50 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
56 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
67 virtual void attachToPreprocessor(Preprocessor &PP);
108 void attachToPreprocessor(Preprocessor &PP) override;
158 void attachToPreprocessor(Preprocessor &PP) override;
167 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
182 void AttachHeaderIncludeGen(Preprocessor &PP,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h19 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-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.h22 class Preprocessor; variable
31 Preprocessor &PP;
73 const MacroInfo &MI, Preprocessor &PP,
90 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h24 class Preprocessor; variable
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h39 std::shared_ptr<Preprocessor> PP);
43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
58 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp104 std::shared_ptr<Preprocessor> PP;
110 std::shared_ptr<Preprocessor> PP, in IndexASTConsumer()
173 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, in createIndexingASTConsumer()
181 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) { in createIndexingASTConsumer()
232 static void indexPreprocessorMacros(Preprocessor &PP, in indexPreprocessorMacros()
242 static void indexPreprocessorModuleMacros(Preprocessor &PP, in indexPreprocessorModuleMacros()
273 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP, in indexTopLevelDecls()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp33 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
2118 void PragmaPackHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2408 void PragmaAlignHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2414 void PragmaOptionsHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2421 void PragmaUnusedHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2503 void PragmaWeakHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2852 void PragmaMSVtorDisp::HandlePragma(Preprocessor &PP, in HandlePragma()
2938 void PragmaMSPragma::HandlePragma(Preprocessor &PP, in HandlePragma()
3162 void PragmaCommentHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
3284 void PragmaFPHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp34 Preprocessor &PP;
38 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp, in HTMLPrinter()
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DRISCVIntrinsicManager.h22 class Preprocessor; variable
36 Preprocessor &PP) = 0;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h36 Preprocessor &PP;
49 AnalysisManager(ASTContext &ctx, Preprocessor &PP,
66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp15 static void dumpTokenInto(const clang::Preprocessor &PP, clang::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()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h19 class Preprocessor; variable
38 void ParseAST(Preprocessor &pp, ASTConsumer *C,

1234567