Searched refs:Preprocessor (Results 1 - 25 of 127) sorted by relevance

123456

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h19 class Preprocessor;
23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
H A DASTConsumers.h25 class Preprocessor;
42 Preprocessor &PP,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenConcatenation.h19 class Preprocessor;
31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
H A DMacroArgs.h24 class Preprocessor;
52 /// Preprocessor owns which we use to avoid thrashing malloc/free.
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,
130 /// deallocate - This should only be called by the Preprocessor when managing
H A DTokenLexer.h23 class Preprocessor;
31 friend class Preprocessor;
41 Preprocessor &PP;
49 /// Note that if it points into Preprocessor's cache buffer, the Preprocessor
109 MacroArgs *ActualArgs, Preprocessor &pp)
118 bool ownsTokens, bool isReinject, Preprocessor &pp)
238 Preprocessor &PP);
H A DPragma.h25 class Preprocessor;
74 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
88 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
120 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
H A DPreprocessorLexer.h27 class Preprocessor;
33 friend class Preprocessor;
35 // Preprocessor object controlling lexing.
36 Preprocessor *PP = nullptr;
78 PreprocessorLexer(Preprocessor *pp, FileID fid);
144 Preprocessor *getPP() const { return PP; }
148 "PreprocessorLexer::getFileID() should only be used with a Preprocessor");
H A DVariadicMacroSupport.h18 #include "clang/Lex/Preprocessor.h"
22 class Preprocessor;
24 /// An RAII class that tracks when the Preprocessor starts and stops lexing
28 /// of the Preprocessor class allows it to access PP's cached identifiers
31 const Preprocessor &PP;
36 VariadicMacroScopeGuard(const Preprocessor &P)
47 /// Client code should call this function just before the Preprocessor is
55 /// Client code should call this function as soon as the Preprocessor has
78 VAOptDefinitionContext(Preprocessor &PP)
155 VAOptExpansionContext(Preprocessor
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h19 class Preprocessor;
38 void ParseAST(Preprocessor &pp, ASTConsumer *C,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h22 class Preprocessor;
34 const std::string &Prefix, const Preprocessor &PP, \
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPCaching.cpp9 // This file implements pieces of the Preprocessor interface that manage the
14 #include "clang/Lex/Preprocessor.h"
18 // until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
20 // make the Preprocessor re-lex the same tokens.
25 void Preprocessor::EnableBacktrackAtThisPos() {
32 void Preprocessor::CommitBacktrackedTokens() {
38 // Make Preprocessor re-lex the tokens that were lexed since
40 void Preprocessor::Backtrack() {
48 void Preprocessor::CachingLex(Token &Result) {
82 void Preprocessor
[all...]
H A DPreprocessorLexer.cpp16 #include "clang/Lex/Preprocessor.h"
24 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
H A DPreprocessor.cpp1 //===- Preprocessor.cpp - C Language Family Preprocessor Implementation ---===//
9 // This file implements the Preprocessor interface.
27 #include "clang/Lex/Preprocessor.h"
79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, function in class:Preprocessor
91 // deferred to Preprocessor::Initialize().
173 Preprocessor::~Preprocessor() {
199 void Preprocessor
[all...]
H A DPragma.cpp10 // pragma related methods of the Preprocessor class.
31 #include "clang/Lex/Preprocessor.h"
66 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP,
106 void PragmaNamespace::HandlePragma(Preprocessor &PP,
127 // Preprocessor Pragma Directive Handling.
135 Preprocessor &Self;
166 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) {
188 void Preprocessor::Handle_Pragma(Token &Tok) {
341 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) {
400 void Preprocessor
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h29 class Preprocessor;
63 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.h23 class Preprocessor;
31 /// Preprocessor.
32 Preprocessor &PP;
70 /// \param PP Preprocessor.
74 const MacroInfo &MI, Preprocessor &PP,
91 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h52 class Preprocessor;
64 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
69 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
80 virtual void attachToPreprocessor(Preprocessor &PP);
113 /// Builds a dependency file when attached to a Preprocessor (for includes) and
121 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 DASTConsumers.h27 class Preprocessor;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h26 class Preprocessor;
70 llvm::Optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h16 #include "clang/Lex/Preprocessor.h"
39 std::shared_ptr<Preprocessor> PP);
43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
58 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h24 class Preprocessor;
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp19 #include "clang/Lex/Preprocessor.h"
34 Preprocessor &PP;
38 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp,
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP,
H A DRewriteTest.cpp13 #include "clang/Lex/Preprocessor.h"
18 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream *OS) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.h24 class Preprocessor;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DIdentifierResolver.h32 class Preprocessor;
134 explicit IdentifierResolver(Preprocessor &PP);
181 Preprocessor &PP;

Completed in 104 milliseconds

123456