Home
last modified time | relevance | path

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

12345678

/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPreprocessor.cpp79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor
164 Preprocessor::~Preprocessor() { in ~Preprocessor()
184 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize()
212 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile()
224 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
230 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken()
256 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation()
260 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro()
269 void Preprocessor::PrintStats() { in PrintStats()
307 Preprocessor::macro_iterator
[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.cpp67 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
107 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
136 Preprocessor &Self;
167 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) { in HandlePragmaDirective()
189 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
347 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma()
406 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce()
421 void Preprocessor::HandlePragmaMark(Token &MarkTok) { in HandlePragmaMark()
431 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison()
473 void Preprocessor::HandlePragmaSystemHeader(Token &SysHeaderTok) { in HandlePragmaSystemHeader()
[all …]
H A DPPLexerChange.cpp35 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
50 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
69 bool Preprocessor::EnterSourceFile(FileID FID, ConstSearchDirIterator CurDir, in EnterSourceFile()
113 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
151 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
180 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
248 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
267 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
291 void Preprocessor::diagnoseMissingHeaderInUmbrellaDir(const Module &Mod) { in diagnoseMissingHeaderInUmbrellaDir()
332 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile()
[all …]
H A DPPDirectives.cpp60 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo()
65 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective()
71 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective()
76 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, in AllocateVisibilityMacroDirective()
83 SourceRange Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective()
112 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroDef()
165 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroUndef()
296 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName()
368 void Preprocessor::ReadMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in ReadMacroName()
397 SourceLocation Preprocessor::CheckEndOfDirective(const char *DirType, in CheckEndOfDirective()
[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.cpp63 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory()
71 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
96 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
132 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro()
171 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, in getModuleMacro()
180 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo()
258 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
326 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ in RegisterBuiltinMacro()
339 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros()
409 Preprocessor &PP) { in isTrivialSingleTokenExpansion()
[all …]
/openbsd-src/gnu/llvm/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()
151 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
H A DTokenConcatenation.h19 class Preprocessor; variable
31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DUtils.h43 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,
H A DCompilerInstance.h49 class Preprocessor; variable
96 std::shared_ptr<Preprocessor> PP;
444 Preprocessor &getPreprocessor() const { in getPreprocessor()
449 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; } in getPreprocessorPtr()
452 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP)); in resetAndLeakPreprocessor()
456 void setPreprocessor(std::shared_ptr<Preprocessor> Value);
670 bool AllowPCHWithCompilerErrors, Preprocessor &PP,
686 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dcharconst-3.c29 # error Preprocessor charconsts 1 in main()
35 # error Preprocessor charconsts 2 in main()
41 # error Preprocessor charconsts 3 in main()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParsePragma.cpp32 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
38 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
44 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
50 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
57 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
66 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
72 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
78 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
84 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
90 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DRISCVIntrinsicManager.h20 class Preprocessor; variable
30 Preprocessor &PP) = 0;
/openbsd-src/gnu/llvm/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()

12345678