HomeSort by relevance Sort by last modified time
    Searched refs:Preprocessor (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/clang/include/clang/Rewrite/
Rewriters.h 20 class Preprocessor;
23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
ASTConsumers.h 25 class Preprocessor;
42 ASTConsumer *CreateHTMLPrinter(raw_ostream *OS, Preprocessor &PP,
HTMLRewrite.h 25 class Preprocessor;
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
  /external/clang/include/clang/StaticAnalyzer/Core/
PathDiagnosticConsumers.h 21 class Preprocessor;
28 createHTMLDiagnosticConsumer(const std::string& prefix, const Preprocessor &PP);
31 createPlistDiagnosticConsumer(const std::string& prefix, const Preprocessor &PP,
36 const Preprocessor &PP);
40 const Preprocessor &PP);
  /external/clang/include/clang/Lex/
TokenConcatenation.h 20 class Preprocessor;
32 Preprocessor &PP;
59 TokenConcatenation(Preprocessor &PP);
PreprocessorLexer.h 24 class Preprocessor;
29 Preprocessor *PP; // Preprocessor object controlling lexing.
38 // Context-specific lexing flags set by the preprocessor.
57 /// 5. No callbacks are made into the preprocessor.
72 friend class Preprocessor;
74 PreprocessorLexer(Preprocessor *pp, FileID fid);
133 /// LexIncludeFilename - After the preprocessor has parsed a #include, lex and
139 /// we are currently lexing a preprocessor directive.
147 /// getPP - Return the preprocessor object for this lexer
    [all...]
TokenLexer.h 21 class Preprocessor;
39 /// PP - The current preprocessor object we are expanding for.
41 Preprocessor &PP;
47 /// the preprocessor, or some other buffer that we may or may not own
49 /// Note that if it points into Preprocessor's cache buffer, the Preprocessor
52 friend class Preprocessor;
102 Preprocessor &pp)
117 bool ownsTokens, Preprocessor &pp)
141 /// preprocessor directive
    [all...]
Pragma.h 23 class Preprocessor;
67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
81 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
117 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
  /external/clang/include/clang/Parse/
ParseAST.h 20 class Preprocessor;
36 void ParseAST(Preprocessor &pp, ASTConsumer *C,
42 /// \brief Parse the main file known to the preprocessor, producing an
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.h 25 class Preprocessor;
34 ASTConsumer* CreateAnalysisConsumer(const Preprocessor &pp,
  /external/clang/include/clang/Frontend/
Utils.h 39 class Preprocessor;
53 /// InitializePreprocessor - Initialize the preprocessor getting it and the
55 void InitializePreprocessor(Preprocessor &PP,
66 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS,
70 /// it to the given preprocessor. This takes ownership of the output stream.
71 void AttachDependencyFileGen(Preprocessor &PP,
75 /// it to the given preprocessor.
76 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
80 /// it to the given preprocessor.
88 void AttachHeaderIncludeGen(Preprocessor &PP, bool ShowAllHeaders = false
    [all...]
VerifyDiagnosticConsumer.h 71 Preprocessor *CurrentPreprocessor;
85 const Preprocessor *PP);
ASTConsumers.h 29 class Preprocessor;
TextDiagnosticPrinter.h 51 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP);
  /external/clang/lib/Lex/
MacroArgs.h 23 class Preprocessor;
53 /// Preprocessor owns which we use to avoid thrashing malloc/free.
64 bool VarargsElided, Preprocessor &PP);
68 void destroy(Preprocessor &PP);
72 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
87 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
91 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
109 /// preprocessor operator. If Charify is true, then it should be turned into
113 Preprocessor &PP, bool Charify,
118 /// deallocate - This should only be called by the Preprocessor when managin
    [all...]
PPCaching.cpp 10 // 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 /// Backtrack - Make Preprocessor re-lex the tokens that were lexed since
40 void Preprocessor::Backtrack() {
48 void Preprocessor::CachingLex(Token &Result) {
77 void Preprocessor::EnterCachingLexMode()
    [all...]
Preprocessor.cpp 1 //===--- Preprocess.cpp - C Language Family Preprocessor Implementation ---===//
10 // This file implements the Preprocessor interface.
17 // -fworking-directory - #line's with preprocessor's working dir.
28 #include "clang/Lex/Preprocessor.h"
52 Preprocessor::Preprocessor(DiagnosticsEngine &diags, LangOptions &opts,
76 Preprocessor::~Preprocessor() {
110 void Preprocessor::Initialize(const TargetInfo &Target) {
177 void Preprocessor::setPTHManager(PTHManager* pm)
    [all...]
Pragma.cpp 11 // pragma related methods of the Preprocessor class.
18 #include "clang/Lex/Preprocessor.h"
38 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP,
78 void PragmaNamespace::HandlePragma(Preprocessor &PP,
100 // Preprocessor Pragma Directive Handling.
105 void Preprocessor::HandlePragmaDirective(unsigned Introducer) {
119 /// \brief Helper class for \see Preprocessor::Handle_Pragma.
121 Preprocessor &PP;
128 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion,
158 void Preprocessor::Handle_Pragma(Token &Tok)
    [all...]
PreprocessorLexer.cpp 15 #include "clang/Lex/Preprocessor.h"
22 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
30 /// LexIncludeFilename - After the preprocessor has parsed a #include, lex and
  /frameworks/compile/slang/
slang_rs_pragma_handler.h 27 class Preprocessor;
48 virtual void handleInt(clang::Preprocessor &PP, clang::Token &Tok,
52 void handleItemListPragma(clang::Preprocessor &PP,
56 void handleNonParamPragma(clang::Preprocessor &PP,
60 void handleOptionalStringLiteralParamPragma(clang::Preprocessor &PP,
64 void handleIntegerParamPragma(clang::Preprocessor &PP,
74 virtual void HandlePragma(clang::Preprocessor &PP,
slang_pragma_recorder.h 28 class Preprocessor;
48 virtual void HandlePragma(clang::Preprocessor &PP,
slang_rs_pragma_handler.cpp 25 #include "clang/Lex/Preprocessor.h"
46 void HandlePragma(clang::Preprocessor &PP,
58 void HandlePragma(clang::Preprocessor &PP,
102 // Pre-mature end (syntax error will be triggered by preprocessor later)
134 void HandlePragma(clang::Preprocessor &PP,
143 void handleInt(clang::Preprocessor &PP,
164 void HandlePragma(clang::Preprocessor &PP,
193 void RSPragmaHandler::handleItemListPragma(clang::Preprocessor &PP,
222 void RSPragmaHandler::handleNonParamPragma(clang::Preprocessor &PP,
242 clang::Preprocessor &PP, clang::Token &FirstToken)
    [all...]
  /external/clang/lib/Parse/
ParsePragma.h 28 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
38 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
48 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
58 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
68 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
79 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
89 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
99 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
109 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
120 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer
    [all...]
  /external/clang/lib/Rewrite/
HTMLPrint.cpp 21 #include "clang/Lex/Preprocessor.h"
36 Preprocessor &PP;
40 HTMLPrinter(raw_ostream *OS, Preprocessor &pp,
51 Preprocessor &PP,
80 // If we have a preprocessor, relex the file and syntax highlight.
81 // We might not have a preprocessor if we come from a deserialized AST file,
RewriteTest.cpp 15 #include "clang/Lex/Preprocessor.h"
19 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream* OS) {

Completed in 1101 milliseconds

1 2 3 4 5