Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPCaching.cpp17 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 DPreprocessor.cpp81 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 DPragma.cpp63 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 DPPLexerChange.cpp34 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 DPPDirectives.cpp62 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 DMacroArgs.cpp25 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 DPPMacroExpansion.cpp61 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 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 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 DTokenConcatenation.h19 class Preprocessor; variable
31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
/freebsd/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/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/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/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h27 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 DIndexingAction.cpp102 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 DASTWriter.h69 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 DParsePragma.cpp36 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 DHTMLPrint.cpp35 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 DMacroExpansionContext.cpp15 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 DReachableCode.cpp150 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 DRISCVIntrinsicManager.h22 class Preprocessor; variable
36 Preprocessor &PP) = 0;
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h19 class Preprocessor; variable
38 void ParseAST(Preprocessor &pp, ASTConsumer *C,
/freebsd/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/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h57 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,

1234567