Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor
169 Preprocessor::~Preprocessor() { in ~Preprocessor()
225 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
268 void Preprocessor::PrintStats() { in PrintStats()
306 Preprocessor::macro_iterator
333 Preprocessor::macro_iterator
378 void Preprocessor::recomputeCurLexerKind() { in recomputeCurLexerKind()
517 Module *Preprocessor::getCurrentModule() { in getCurrentModule()
530 void Preprocessor::EnterMainSourceFile() { in EnterMainSourceFile()
683 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.cpp108 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
137 Preprocessor &Self;
190 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
427 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison()
802 Preprocessor &PP, Token &Tok, in LexModuleNameComponent()
823 Preprocessor &PP, Token &Tok, in LexModuleName()
1190 Preprocessor &PP; in HandlePragma()
1249 void HandleCaptured(Preprocessor &PP) { in HandleCaptured()
1746 if (Preprocessor::checkModuleIsAvailable( in HandlePragma()
1977 void Preprocessor::RegisterBuiltinPragmas() { in RegisterBuiltinPragmas()
[all …]
H A DPPLexerChange.cpp35 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
50 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
100 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
126 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
242 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
304 void Preprocessor::ResolvePragmaIncludeInstead( in ResolvePragmaIncludeInstead()
589 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) { in HandleEndOfTokenLexer()
610 void Preprocessor::RemoveTopOfLexerStack() { in RemoveTopOfLexerStack()
627 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste()
751 bool Preprocessor::needModuleMacros() const { in needModuleMacros()
[all …]
H A DPPDirectives.cpp82 SourceRange Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective()
808 Optional<FileEntryRef> Preprocessor::LookupFile( in LookupFile()
941 class Preprocessor::ResetMacroExpansionHelper {
943 ResetMacroExpansionHelper(Preprocessor *pp) in ResetMacroExpansionHelper()
954 Preprocessor *PP;
989 void Preprocessor::HandleDirective(Token &Result) { in HandleDirective()
1241 void Preprocessor::HandleLineDirective() { in HandleLineDirective()
1555 void Preprocessor::HandleMacroPrivateDirective() { in HandleMacroPrivateDirective()
1944 Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport( in HandleHeaderIncludeOrImport()
2846 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()
174 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, in getModuleMacro()
261 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
341 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros()
404 Preprocessor &PP) { in isTrivialSingleTokenExpansion()
435 bool Preprocessor::isNextPPTokenLParen() { in isNextPPTokenLParen()
665 static bool GenerateNewArgTokens(Preprocessor &PP, in GenerateNewArgTokens()
1078 Preprocessor &PP) { in ComputeDATE_TIME()
1248 Preprocessor &PP) { in EvaluateHasInclude()
1458 void Preprocessor::ExpandBuiltinMacro(Token &Tok) { in ExpandBuiltinMacro()
[all …]
/freebsd-13.1/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.h29 class Preprocessor; variable
35 friend class Preprocessor;
38 Preprocessor *PP = nullptr;
87 PreprocessorLexer(Preprocessor *pp, FileID fid);
153 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()
151 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
H A DTokenConcatenation.h19 class Preprocessor; variable
31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h53 class Preprocessor; variable
65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
70 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
81 virtual void attachToPreprocessor(Preprocessor &PP);
122 void attachToPreprocessor(Preprocessor &PP) override;
172 void attachToPreprocessor(Preprocessor &PP) override;
181 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
196 void AttachHeaderIncludeGen(Preprocessor &PP,
H A DCompilerInstance.h50 class Preprocessor; variable
97 std::shared_ptr<Preprocessor> PP;
441 Preprocessor &getPreprocessor() const { in getPreprocessor()
446 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; } in getPreprocessorPtr()
449 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP)); in resetAndLeakPreprocessor()
453 void setPreprocessor(std::shared_ptr<Preprocessor> Value);
667 bool AllowPCHWithCompilerErrors, Preprocessor &PP,
683 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.h23 class Preprocessor; variable
32 Preprocessor &PP;
74 const MacroInfo &MI, Preprocessor &PP,
91 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp31 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1791 void PragmaPackHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2081 void PragmaAlignHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2087 void PragmaOptionsHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2094 void PragmaUnusedHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2176 void PragmaWeakHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2382 void PragmaOpenMPHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2525 void PragmaMSVtorDisp::HandlePragma(Preprocessor &PP, in HandlePragma()
2611 void PragmaMSPragma::HandlePragma(Preprocessor &PP, in HandlePragma()
2835 void PragmaCommentHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
[all …]
/freebsd-13.1/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-13.1/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-13.1/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-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp14 static void dumpTokenInto(const clang::Preprocessor &PP, clang::raw_ostream &OS,
20 const Preprocessor &PP;
26 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder()
88 void MacroExpansionContext::registerForPreprocessor(Preprocessor &NewPP) { in registerForPreprocessor()
176 static void dumpTokenInto(const Preprocessor &PP, raw_ostream &OS, Token Tok) { in dumpTokenInto()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h19 class Preprocessor; variable
38 void ParseAST(Preprocessor &pp, ASTConsumer *C,

123456