HomeSort by: relevance | last modified time | path
    Searched defs:PP (Results 1 - 25 of 72) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
MacroExpansionContext.h 83 void registerForPreprocessor(Preprocessor &PP);
116 Preprocessor *PP = nullptr;
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
TokenConcatenation.h 31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
TokenLexer.h 41 Preprocessor &PP;
109 MacroArgs *ActualArgs, Preprocessor &pp)
110 : PP(pp), OwnsTokens(false) {
118 bool ownsTokens, bool isReinject, Preprocessor &pp)
119 : PP(pp), OwnsTokens(false) {
238 Preprocessor &PP);
PreprocessorLexer.h 36 Preprocessor *PP = nullptr;
66 /// Note that in raw mode that the PP pointer may be null.
78 PreprocessorLexer(Preprocessor *pp, FileID fid);
144 Preprocessor *getPP() const { return PP; }
147 assert(PP &&
VariadicMacroSupport.h 28 /// of the Preprocessor class allows it to access PP's cached identifiers
31 const Preprocessor &PP;
37 : PP(P), Ident__VA_ARGS__(PP.Ident__VA_ARGS__),
38 Ident__VA_OPT__(PP.Ident__VA_OPT__) {
74 VAOptDefinitionContext(Preprocessor &PP)
75 : Ident__VA_OPT__(PP.Ident__VA_OPT__) {}
151 VAOptExpansionContext(Preprocessor &PP)
152 : VAOptDefinitionContext(PP), LeadingSpaceForStringifiedToken(false),
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexingAction.cpp 85 std::shared_ptr<Preprocessor> PP;
91 std::shared_ptr<Preprocessor> PP,
95 PP(std::move(PP)),
98 assert(this->PP != nullptr);
105 IndexCtx->getDataConsumer().setPreprocessor(PP);
106 PP->addPPCallbacks(std::make_unique<IndexPPCallbacks>(IndexCtx));
154 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
156 return std::make_unique<IndexASTConsumer>(DataConsumer, Opts, PP,
162 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) {
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
CommentSema.h 46 const Preprocessor *PP;
74 const Preprocessor *PP);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
DependencyGraph.cpp 29 const Preprocessor *PP;
46 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { }
62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
64 PP.addPPCallbacks(std::make_unique<DependencyGraphCallback>(&PP, OutputFile,
82 SourceManager &SM = PP->getSourceManager();
105 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile
ChainedIncludesSource.cpp 84 Preprocessor &PP = CI.getPreprocessor();
87 PP, CI.getModuleCache(), &CI.getASTContext(), CI.getPCHContainerReader(),
99 PP.setPredefines(Reader->getSuggestedPredefines());
172 Preprocessor &PP = Clang->getPreprocessor();
173 PP.getBuiltinInfo().initializeBuiltins(PP.getIdentifierTable(),
174 PP.getLangOpts());
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
HTMLPrint.cpp 34 Preprocessor &PP;
38 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp,
40 : Out(std::move(OS)), PP(pp), SyntaxHighlight(_SyntaxHighlight),
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP,
51 return std::make_unique<HTMLPrinter>(std::move(OS), PP, SyntaxHighlight,
60 if (PP.getDiagnostics().hasErrorOccurred())
82 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP);
83 if (HighlightMacros) html::HighlightMacros(R, FID, PP);
InclusionRewriter.cpp 39 Preprocessor &PP; ///< Used to find inclusion directives.
58 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers,
106 /// Initializes an InclusionRewriter with a \p PP source and \p OS destination.
107 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS,
110 : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"),
166 IncludedFile(Id, NewFileType, PP.GetCurDirLookup())));
365 PP.LookUpIdentifierInfo(RawToken);
384 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ProgramPoint.cpp 55 const PrintingPolicy &PP = Context.getPrintingPolicy();
74 RS->printJson(Out, nullptr, PP, AddQuotes);
157 LHS->printJson(Out, nullptr, PP, AddQuotes);
164 RHS->printJson(Out, nullptr, PP, AddQuotes);
198 S->printJson(Out, nullptr, PP, AddQuotes);
MacroExpansionContext.cpp 14 static void dumpTokenInto(const clang::Preprocessor &PP, clang::raw_ostream &OS,
20 const Preprocessor &PP;
26 const Preprocessor &PP, SourceManager &SM,
28 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {}
49 (void)PP;
51 dumpTokenInto(PP, llvm::dbgs(), MacroName);
89 PP = &NewPP;
93 PP->addPPCallbacks(std::make_unique<detail::MacroExpansionRangeRecorder>(
94 *PP, *SM, ExpansionRanges))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
MacroPPCallbacks.h 32 Preprocessor &PP;
70 /// \param PP Preprocessor.
74 const MacroInfo &MI, Preprocessor &PP,
91 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseAST.cpp 70 const Preprocessor &PP = P.getPreprocessor();
71 Tok.getLocation().print(OS, PP.getSourceManager());
75 // Do the equivalent of PP.getSpelling(Tok) except for the parts that would
99 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer,
106 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer));
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
filesystem.bench.cpp 13 path PP;
15 PP /= Part;
16 benchmark::DoNotOptimize(PP.native().data());
18 const path P(PP.native());
31 path PP;
33 PP /= Part;
34 benchmark::DoNotOptimize(PP.native().data());
36 const path P(PP.native().c_str());
49 path PP;
51 PP /= Part
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
IdentifierResolver.h 134 explicit IdentifierResolver(Preprocessor &PP);
181 Preprocessor &PP;
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
AnalysisManager.h 36 Preprocessor &PP;
49 AnalysisManager(ASTContext &ctx, Preprocessor &PP,
66 Preprocessor &getPreprocessor() override { return PP; }
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
Environment.cpp 244 PrintingPolicy PP = Ctx.getPrintingPolicy();
278 S->printJson(Out, nullptr, PP, /*AddQuotes=*/true);
PlistDiagnostics.cpp 45 const Preprocessor &PP;
55 const std::string &OutputFile, const Preprocessor &PP,
84 const Preprocessor &PP;
90 PlistPrinter(const FIDMap &FM, const Preprocessor &PP,
93 : FM(FM), PP(PP), CTU(CTU), MacroExpansions(MacroExpansions) {}
187 const SourceManager &SM = PP.getSourceManager();
188 const LangOptions &LangOpts = PP.getLangOpts();
218 const SourceManager &SM = PP.getSourceManager();
219 const LangOptions &LangOpts = PP.getLangOpts()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
Extract.cpp 140 // FIXME: Adjust with PP awareness like in Sema to get correct 'bool'
142 PrintingPolicy PP = AST.getPrintingPolicy();
143 // FIXME: PP.UseStdFunctionForLambda = true;
144 PP.SuppressStrongLifetime = true;
145 PP.SuppressLifetimeQualifiers = true;
146 PP.SuppressUnwrittenScope = true;
157 ReturnType.print(OS, PP, DeclName);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/
MicrosoftDemangle.h 79 uint8_t *PP = (uint8_t *)AlignedP;
84 return new (PP) T[Count]();
98 uint8_t *PP = (uint8_t *)AlignedP;
103 return new (PP) T(std::forward<Args>(ConstructorArgs)...);
  /src/external/apache2/llvm/dist/clang/lib/Interpreter/
IncrementalParser.cpp 80 assert(CI.hasPreprocessor() && "No PP!");
93 Preprocessor &PP = CI.getPreprocessor();
94 PP.enableIncrementalProcessing();
95 PP.EnterMainSourceFile();
195 Preprocessor &PP = CI->getPreprocessor();
196 assert(PP.isIncrementalProcessingEnabled() && "Not in incremental mode!?");
222 if (PP.EnterSourceFile(FID, /*DirLookup=*/0, NewLoc))
231 if (PP.getLangOpts().DelayedTemplateParsing) {
238 PP.Lex(Tok);
243 PP.Lex(AssertTok)
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/c-index-test/
core_main.cpp 89 std::shared_ptr<Preprocessor> PP;
99 void setPreprocessor(std::shared_ptr<Preprocessor> PP) override {
100 this->PP = std::move(PP);
167 assert(PP);
168 SourceManager &SM = PP->getSourceManager();
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
Tokens.h 318 /// conditionally disabled pp regions, etc.
434 /// 1. range from '#' to the last token in the line for PP directives,
456 Preprocessor &PP;

Completed in 23 milliseconds

1 2 3