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

123456

/external/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h20 class Preprocessor;
24 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
27 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
30 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
H A DASTConsumers.h26 class Preprocessor;
42 Preprocessor &PP,
/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DPreprocessor.h28 class Preprocessor class in namespace:pp
31 Preprocessor(Diagnostics* diagnostics, DirectiveHandler* directiveHandler);
32 ~Preprocessor();
50 PP_DISALLOW_COPY_AND_ASSIGN(Preprocessor);
H A DPreprocessor.cpp15 #include "Preprocessor.h"
47 Preprocessor::Preprocessor(Diagnostics* diagnostics, function in class:pp::Preprocessor
53 Preprocessor::~Preprocessor()
58 bool Preprocessor::init(int count,
73 void Preprocessor::predefineMacro(const char* name, int value)
91 void Preprocessor::lex(Token* token)
/external/clang/include/clang/Lex/
H A DTokenConcatenation.h20 class Preprocessor;
32 Preprocessor &PP;
59 TokenConcatenation(Preprocessor &PP);
H A DMacroArgs.h24 class Preprocessor;
53 /// Preprocessor owns which we use to avoid thrashing malloc/free.
66 bool VarargsElided, Preprocessor &PP);
70 void destroy(Preprocessor &PP);
74 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
89 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
93 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
115 Preprocessor &PP, bool Charify,
120 /// deallocate - This should only be called by the Preprocessor when managing
H A DTokenLexer.h21 class Preprocessor;
41 Preprocessor &PP;
49 /// Note that if it points into Preprocessor's cache buffer, the Preprocessor
52 friend class Preprocessor;
110 MacroArgs *ActualArgs, Preprocessor &pp)
126 bool ownsTokens, Preprocessor &pp)
198 Preprocessor &PP);
H A DPragma.h23 class Preprocessor;
67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
81 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
117 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
H A DPreprocessorLexer.h25 class Preprocessor;
30 Preprocessor *PP; // Preprocessor object controlling lexing.
74 friend class Preprocessor;
76 PreprocessorLexer(Preprocessor *pp, FileID fid);
151 Preprocessor *getPP() const { return PP; }
155 "PreprocessorLexer::getFileID() should only be used with a Preprocessor");
H A DPTHLexer.h64 PTHLexer(Preprocessor& pp, FileID FID, const unsigned char *D,
98 /// SkipBlock - Used by Preprocessor to skip the current conditional block.
/external/clang/include/clang/Parse/
H A DParseAST.h20 class Preprocessor;
36 void ParseAST(Preprocessor &pp, ASTConsumer *C,
/external/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h23 class Preprocessor;
34 const Preprocessor &PP);
/external/clang/lib/Lex/
H A DPPCaching.cpp10 // This file implements pieces of the Preprocessor interface that manage the
15 #include "clang/Lex/Preprocessor.h"
19 // until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
21 // make the Preprocessor re-lex the same tokens.
26 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) {
77 void Preprocessor
[all...]
H A DPreprocessor.cpp1 //===--- Preprocess.cpp - C Language Family Preprocessor Implementation ---===//
10 // This file implements the Preprocessor interface.
28 #include "clang/Lex/Preprocessor.h"
62 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, function in class:Preprocessor
145 Preprocessor::~Preprocessor() {
176 void Preprocessor::Initialize(const TargetInfo &Target,
191 void Preprocessor::InitializeForModelFile() {
203 void Preprocessor
[all...]
H A DPreprocessorLexer.cpp17 #include "clang/Lex/Preprocessor.h"
22 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
H A DPragma.cpp11 // pragma related methods of the Preprocessor class.
22 #include "clang/Lex/Preprocessor.h"
43 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP,
78 void PragmaNamespace::HandlePragma(Preprocessor &PP,
100 // Preprocessor Pragma Directive Handling.
105 void Preprocessor::HandlePragmaDirective(SourceLocation IntroducerLoc,
126 /// \brief Helper class for \see Preprocessor::Handle_Pragma.
128 Preprocessor &PP;
135 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion,
165 void Preprocessor
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h30 class Preprocessor;
64 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
/external/clang/include/clang/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.h26 class Preprocessor;
/external/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h25 class Preprocessor;
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
/external/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp21 #include "clang/Lex/Preprocessor.h"
36 Preprocessor &PP;
40 HTMLPrinter(raw_ostream *OS, Preprocessor &pp,
51 Preprocessor &PP,
H A DRewriteTest.cpp15 #include "clang/Lex/Preprocessor.h"
19 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream* OS) {
/external/clang/include/clang/Frontend/
H A DASTConsumers.h27 class Preprocessor;
H A DUtils.h50 class Preprocessor;
66 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
71 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS,
81 virtual void attachToPreprocessor(Preprocessor &PP);
107 /// Builds a depdenency file when attached to a Preprocessor (for includes) and
116 Preprocessor &PP, const DependencyOutputOptions &Opts);
140 void attachToPreprocessor(Preprocessor &PP) override;
152 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
167 void AttachHeaderIncludeGen(Preprocessor &PP,
174 void CacheTokens(Preprocessor
[all...]
H A DTextDiagnosticBuffer.h22 class Preprocessor;
H A DTextDiagnosticPrinter.h50 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override;

Completed in 3439 milliseconds

123456