|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/ASTContext.h 116 class Preprocessor;
tools/clang/include/clang/AST/CommentSema.h 27 class Preprocessor;
tools/clang/include/clang/AST/RawCommentList.h 24 class Preprocessor;
tools/clang/include/clang/Analysis/Analyses/ReachableCode.h 29 class Preprocessor;
tools/clang/include/clang/Basic/Diagnostic.h 47 class Preprocessor;
tools/clang/include/clang/Frontend/ASTConsumers.h 27 class Preprocessor;
tools/clang/include/clang/Frontend/ASTUnit.h 77 class Preprocessor;
tools/clang/include/clang/Frontend/CompilerInstance.h 49 class Preprocessor;
tools/clang/include/clang/Frontend/Utils.h 57 class Preprocessor;
tools/clang/include/clang/Lex/HeaderSearch.h 45 class Preprocessor;
tools/clang/include/clang/Lex/Lexer.h 37 class Preprocessor;
tools/clang/include/clang/Lex/LiteralSupport.h 29 class Preprocessor;
tools/clang/include/clang/Lex/MacroArgs.h 24 class Preprocessor;
tools/clang/include/clang/Lex/MacroInfo.h 33 class Preprocessor;
tools/clang/include/clang/Lex/Pragma.h 25 class Preprocessor;
tools/clang/include/clang/Lex/PreprocessorLexer.h 27 class Preprocessor;
tools/clang/include/clang/Lex/TokenConcatenation.h 19 class Preprocessor;
tools/clang/include/clang/Lex/TokenLexer.h 23 class Preprocessor;
tools/clang/include/clang/Lex/VariadicMacroSupport.h 22 class Preprocessor;
tools/clang/include/clang/Parse/ParseAST.h 19 class Preprocessor;
tools/clang/include/clang/Rewrite/Core/HTMLRewrite.h 24 class Preprocessor;
tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h 25 class Preprocessor;
tools/clang/include/clang/Rewrite/Frontend/Rewriters.h 19 class Preprocessor;
tools/clang/include/clang/Sema/CodeCompleteConsumer.h 47 class Preprocessor;
tools/clang/include/clang/Sema/IdentifierResolver.h 32 class Preprocessor;
tools/clang/include/clang/Sema/Sema.h 168 class Preprocessor;
tools/clang/include/clang/Serialization/ASTReader.h 106 class Preprocessor;
tools/clang/include/clang/Serialization/ASTWriter.h 85 class Preprocessor;
tools/clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h 22 class Preprocessor;
tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h 24 class Preprocessor;
tools/clang/include/clang/Tooling/Syntax/Tokens.h 45 class Preprocessor;
tools/clang/lib/CodeGen/CoverageMappingGen.h 28 class Preprocessor;
tools/clang/lib/CodeGen/MacroPPCallbacks.h 23 class Preprocessor;
References
include/llvm/ADT/Optional.h 87 template <class... Args> void emplace(Args &&... args) {
237 template <typename... ArgTypes> void emplace(ArgTypes &&... Args) {
tools/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp 61 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
tools/clang/include/clang/AST/ASTContext.h 820 const Preprocessor *PP);
828 const Preprocessor *PP) const;
tools/clang/include/clang/AST/CommentSema.h 46 const Preprocessor *PP;
74 const Preprocessor *PP);
tools/clang/include/clang/AST/RawCommentList.h 142 const Preprocessor *PP, const Decl *D) const;
tools/clang/include/clang/Analysis/Analyses/ReachableCode.h 63 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
tools/clang/include/clang/Basic/Diagnostic.h 1514 const Preprocessor *PP = nullptr) {}
tools/clang/include/clang/Frontend/ASTUnit.h 116 std::shared_ptr<Preprocessor> PP;
435 const Preprocessor &getPreprocessor() const { return *PP; }
436 Preprocessor &getPreprocessor() { return *PP; }
437 std::shared_ptr<Preprocessor> getPreprocessorPtr() const { return PP; }
443 void setPreprocessor(std::shared_ptr<Preprocessor> pp);
tools/clang/include/clang/Frontend/ChainedDiagnosticConsumer.h 40 const Preprocessor *PP) override {
tools/clang/include/clang/Frontend/CompilerInstance.h 95 std::shared_ptr<Preprocessor> PP;
448 Preprocessor &getPreprocessor() const {
453 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; }
456 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP));
460 void setPreprocessor(std::shared_ptr<Preprocessor> Value);
675 bool AllowPCHWithCompilerErrors, Preprocessor &PP,
691 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
tools/clang/include/clang/Frontend/LogDiagnosticPrinter.h 72 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override {
tools/clang/include/clang/Frontend/TextDiagnosticPrinter.h 49 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override;
tools/clang/include/clang/Frontend/Utils.h 69 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
74 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
85 virtual void attachToPreprocessor(Preprocessor &PP);
126 void attachToPreprocessor(Preprocessor &PP) override;
177 void attachToPreprocessor(Preprocessor &PP) override;
186 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
201 void AttachHeaderIncludeGen(Preprocessor &PP,
tools/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h 262 const Preprocessor *CurrentPreprocessor = nullptr;
302 const Preprocessor *PP) override;
320 bool HandleComment(Preprocessor &PP, SourceRange Comment) override;
tools/clang/include/clang/Index/IndexDataConsumer.h 39 virtual void setPreprocessor(std::shared_ptr<Preprocessor> PP) {}
tools/clang/include/clang/Index/IndexingAction.h 38 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) {
59 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
tools/clang/include/clang/Lex/HeaderSearch.h 423 bool ShouldEnterIncludeFile(Preprocessor &PP, const FileEntry *File,
tools/clang/include/clang/Lex/Lexer.h 141 Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP);
164 unsigned TokLen, Preprocessor &PP);
tools/clang/include/clang/Lex/LiteralSupport.h 43 Preprocessor &PP; // needed for diagnostics
59 Preprocessor &PP);
184 SourceLocation Loc, Preprocessor &PP,
222 Preprocessor &PP, bool Complain = true);
tools/clang/include/clang/Lex/MacroArgs.h 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,
tools/clang/include/clang/Lex/MacroInfo.h 145 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP,
515 static ModuleMacro *create(Preprocessor &PP, Module *OwningModule,
tools/clang/include/clang/Lex/Pragma.h 74 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
88 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
121 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
tools/clang/include/clang/Lex/Preprocessor.h 581 ModuleMacroInfo *getModuleInfo(Preprocessor &PP,
639 bool isAmbiguous(Preprocessor &PP, const IdentifierInfo *II) const {
645 getActiveModuleMacros(Preprocessor &PP, const IdentifierInfo *II) const {
659 void overrideActiveModuleMacros(Preprocessor &PP, IdentifierInfo *II) {
675 void setOverriddenMacros(Preprocessor &PP,
2345 virtual bool HandleComment(Preprocessor &PP, SourceRange Comment) = 0;
tools/clang/include/clang/Lex/PreprocessorLexer.h 36 Preprocessor *PP = nullptr;
78 PreprocessorLexer(Preprocessor *pp, FileID fid);
144 Preprocessor *getPP() const { return PP; }
tools/clang/include/clang/Lex/TokenConcatenation.h 31 const Preprocessor &PP;
58 TokenConcatenation(const Preprocessor &PP);
tools/clang/include/clang/Lex/TokenLexer.h 41 Preprocessor &PP;
109 MacroArgs *ActualArgs, Preprocessor &pp)
118 bool ownsTokens, bool isReinject, Preprocessor &pp)
238 Preprocessor &PP);
tools/clang/include/clang/Lex/VariadicMacroSupport.h 31 const Preprocessor &PP;
36 VariadicMacroScopeGuard(const Preprocessor &P)
78 VAOptDefinitionContext(Preprocessor &PP)
155 VAOptExpansionContext(Preprocessor &PP)
tools/clang/include/clang/Parse/ParseAST.h 38 void ParseAST(Preprocessor &pp, ASTConsumer *C,
tools/clang/include/clang/Parse/Parser.h 65 Preprocessor &PP;
400 Parser(Preprocessor &PP, Sema &Actions, bool SkipFunctionBodies);
405 Preprocessor &getPreprocessor() const { return PP; }
tools/clang/include/clang/Rewrite/Core/HTMLRewrite.h 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h 42 Preprocessor &PP,
tools/clang/include/clang/Rewrite/Frontend/Rewriters.h 23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
tools/clang/include/clang/Sema/CodeCompleteConsumer.h 945 Preprocessor &PP,
954 CreateCodeCompletionStringForMacro(Preprocessor &PP,
959 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
964 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
tools/clang/include/clang/Sema/IdentifierResolver.h 134 explicit IdentifierResolver(Preprocessor &PP);
181 Preprocessor &PP;
tools/clang/include/clang/Sema/Sema.h 376 Preprocessor &PP;
1297 Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
1312 Preprocessor &getPreprocessor() const { return PP; }
2446 const Preprocessor &PP);
tools/clang/include/clang/Serialization/ASTReader.h 289 Preprocessor &PP;
293 PCHValidator(Preprocessor &PP, ASTReader &Reader)
318 Preprocessor &PP;
321 SimpleASTReaderListener(Preprocessor &PP) : PP(PP) {}
432 Preprocessor &PP;
1488 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1669 Preprocessor &getPreprocessor() const { return PP; }
tools/clang/include/clang/Serialization/ASTWriter.h 141 Preprocessor *PP = nullptr;
460 void WriteControlBlock(Preprocessor &PP, ASTContext &Context,
464 ASTFileSignature writeUnhashedControlBlock(Preprocessor &PP,
473 const Preprocessor &PP);
474 void WritePreprocessor(const Preprocessor &PP, bool IsModule);
499 void WriteIdentifierTable(Preprocessor &PP, IdentifierResolver &IdResolver,
973 const Preprocessor &PP;
989 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
tools/clang/include/clang/Tooling/Syntax/Tokens.h 327 TokenCollector(Preprocessor &P);
358 Preprocessor &PP;
tools/clang/lib/ARCMigrate/ARCMT.cpp 108 const Preprocessor *PP) override {
219 Preprocessor &PP) {
tools/clang/lib/ARCMigrate/Internals.h 54 ASTContext &ctx, Preprocessor &PP);
tools/clang/lib/ARCMigrate/ObjCMT.cpp 102 Preprocessor &PP;
122 Preprocessor &PP,
243 Preprocessor &PP,
801 static bool UseNSOptionsMacro(Preprocessor &PP, ASTContext &Ctx,
tools/clang/lib/ARCMigrate/TransformActions.cpp 31 Preprocessor &PP;
67 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) {
98 SourceManager &SrcMgr, Preprocessor &PP) {
122 ASTContext &ctx, Preprocessor &PP)
178 SourceManager &SM,Preprocessor &PP);
593 Preprocessor &PP) {
607 ASTContext &ctx, Preprocessor &PP)
tools/clang/lib/AST/CommentSema.cpp 29 const Preprocessor *PP) :
tools/clang/lib/Analysis/ReachableCode.cpp 149 Preprocessor &PP,
178 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
188 Preprocessor &PP,
271 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) {
294 Preprocessor &PP) {
310 Preprocessor *PP,
375 Preprocessor &PP,
389 Preprocessor &PP;
398 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C)
678 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
tools/clang/lib/CodeGen/MacroPPCallbacks.cpp 23 Preprocessor &PP, raw_ostream &Name,
61 MacroPPCallbacks::MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP)
tools/clang/lib/CodeGen/MacroPPCallbacks.h 32 Preprocessor &PP;
74 const MacroInfo &MI, Preprocessor &PP,
91 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
tools/clang/lib/Frontend/ASTUnit.cpp 274 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) {
517 Preprocessor &PP;
528 ASTInfoCollector(Preprocessor &PP, ASTContext *Context,
631 const Preprocessor *PP = nullptr) override {
803 AST->PP = std::make_shared<Preprocessor>(
808 Preprocessor &PP = *AST->PP;
tools/clang/lib/Frontend/ChainedIncludesSource.cpp 83 Preprocessor &PP = CI.getPreprocessor();
170 Preprocessor &PP = Clang->getPreprocessor();
tools/clang/lib/Frontend/CompilerInstance.cpp 108 void CompilerInstance::setPreprocessor(std::shared_ptr<Preprocessor> Value) {
389 PP = std::make_shared<Preprocessor>(Invocation->getPreprocessorOptsPtr(),
483 Preprocessor &PP = getPreprocessor();
508 bool AllowPCHWithCompilerErrors, Preprocessor &PP,
565 static bool EnableCodeCompletion(Preprocessor &PP,
609 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
1333 static void checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro,
1961 if (Preprocessor::checkModuleIsAvailable(getLangOpts(), getTarget(),
tools/clang/lib/Frontend/DependencyFile.cpp 170 void DependencyCollector::attachToPreprocessor(Preprocessor &PP) {
194 void DependencyFileGenerator::attachToPreprocessor(Preprocessor &PP) {
tools/clang/lib/Frontend/DependencyGraph.cpp 29 const Preprocessor *PP;
44 DependencyGraphCallback(const Preprocessor *_PP, StringRef OutputFile,
62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
tools/clang/lib/Frontend/FrontendAction.cpp 471 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(),
647 Preprocessor &PP = CI.getPreprocessor();
888 Preprocessor &PP = CI.getPreprocessor();
tools/clang/lib/Frontend/FrontendActions.cpp 717 Preprocessor &PP = getCompilerInstance().getPreprocessor();
732 Preprocessor &PP = getCompilerInstance().getPreprocessor();
750 Preprocessor &PP = getCompilerInstance().getPreprocessor();
762 Preprocessor &PP = getCompilerInstance().getPreprocessor();
880 const Preprocessor &PP = CI.getPreprocessor();
938 Preprocessor &PP = getCompilerInstance().getPreprocessor();
tools/clang/lib/Frontend/HeaderIncludeGen.cpp 31 HeaderIncludesCallback(const Preprocessor *PP, bool ShowAllHeaders_,
78 void clang::AttachHeaderIncludeGen(Preprocessor &PP,
tools/clang/lib/Frontend/InitPreprocessor.cpp 80 static void AddImplicitIncludePCH(MacroBuilder &Builder, Preprocessor &PP,
1108 Preprocessor &PP, const PreprocessorOptions &InitOpts,
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp 105 void ModuleDependencyCollector::attachToPreprocessor(Preprocessor &PP) {
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 160 const Preprocessor &PP,
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp 35 Preprocessor &PP, raw_ostream &OS) {
80 Preprocessor &PP;
99 PrintPPOutputPPCallbacks(Preprocessor &pp, raw_ostream &os, bool lineMarkers,
667 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
712 static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok,
825 static void DoPrintMacros(Preprocessor &PP, raw_ostream *OS) {
838 for (Preprocessor::macro_iterator I = PP.macro_begin(), E = PP.macro_end();
858 void clang::DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp 34 Preprocessor &PP;
38 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp,
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP,
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp 39 Preprocessor &PP; ///< Used to find inclusion directives.
58 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers,
108 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS,
538 void clang::RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp 61 static void LexRawTokensFromMainFile(Preprocessor &PP,
89 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) {
tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp 18 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream *OS) {
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 402 Preprocessor *PP, SourceLocation Pos,
664 const Preprocessor *PP) {
746 bool VerifyDiagnosticConsumer::HandleComment(Preprocessor &PP,
tools/clang/lib/Index/IndexingAction.cpp 59 std::shared_ptr<Preprocessor> PP;
65 std::shared_ptr<Preprocessor> PP,
128 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
150 static void indexPreprocessorMacros(const Preprocessor &PP,
173 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
tools/clang/lib/Lex/HeaderSearch.cpp 1247 bool HeaderSearch::ShouldEnterIncludeFile(Preprocessor &PP,
tools/clang/lib/Lex/Lexer.cpp 133 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP)
189 unsigned TokLen, Preprocessor &PP) {
1101 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1102 static SourceLocation GetMappedTokenLoc(Preprocessor &PP,
tools/clang/lib/Lex/LiteralSupport.cpp 527 Preprocessor &PP)
1217 SourceLocation Loc, Preprocessor &PP,
1455 Preprocessor &PP, bool Complain)
tools/clang/lib/Lex/MacroArgs.cpp 26 bool VarargsElided, Preprocessor &PP) {
78 void MacroArgs::destroy(Preprocessor &PP) {
137 Preprocessor &PP) {
147 Preprocessor &PP) const {
162 Preprocessor &PP) {
209 Preprocessor &PP, bool Charify,
tools/clang/lib/Lex/MacroInfo.cpp 74 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP,
241 ModuleMacro *ModuleMacro::create(Preprocessor &PP, Module *OwningModule,
tools/clang/lib/Lex/PPDirectives.cpp 142 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) {
154 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) {
853 ResetMacroExpansionHelper(Preprocessor *pp)
864 Preprocessor *PP;
1090 unsigned DiagID, Preprocessor &PP,
1228 Preprocessor &PP) {
1563 Preprocessor &PP, SourceLocation HashLoc, Token &IncludeTok,
1853 Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport(
tools/clang/lib/Lex/PPExpressions.cpp 76 Preprocessor &PP);
101 bool ValueLive, Preprocessor &PP) {
228 bool ValueLive, Preprocessor &PP) {
527 static void diagnoseUnexpectedOperator(Preprocessor &PP, PPValue &LHS,
546 Preprocessor &PP) {
823 Preprocessor::DirectiveEvalResult
tools/clang/lib/Lex/PPMacroExpansion.cpp 324 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){
396 Preprocessor &PP) {
657 static bool GenerateNewArgTokens(Preprocessor &PP,
1062 Preprocessor &PP) {
1095 static bool HasFeature(const Preprocessor &PP, StringRef Feature) {
1112 static bool HasExtension(const Preprocessor &PP, StringRef Extension) {
1142 IdentifierInfo *II, Preprocessor &PP,
1232 Preprocessor &PP) {
1239 IdentifierInfo *II, Preprocessor &PP) {
1274 Preprocessor &PP,
1380 Preprocessor &PP,
tools/clang/lib/Lex/Pragma.cpp 65 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP,
100 void PragmaNamespace::HandlePragma(Preprocessor &PP,
129 Preprocessor &Self;
745 Preprocessor &PP, Token &Tok,
766 Preprocessor &PP, Token &Tok,
975 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
987 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
997 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1008 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1018 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1027 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1124 void HandleCaptured(Preprocessor &PP) {
1167 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1246 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1258 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1381 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1443 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1486 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1542 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1579 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1621 if (Preprocessor::checkModuleIsAvailable(
1639 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1659 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1669 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1693 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1704 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1715 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1770 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1839 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
tools/clang/lib/Lex/Preprocessor.cpp 305 Preprocessor::macro_iterator
332 Preprocessor::macro_iterator
355 for (Preprocessor::macro_iterator I = macro_begin(), E = macro_end();
tools/clang/lib/Lex/PreprocessorLexer.cpp 24 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
tools/clang/lib/Lex/TokenConcatenation.cpp 69 TokenConcatenation::TokenConcatenation(const Preprocessor &pp) : PP(pp) {
128 static char GetFirstChar(const Preprocessor &PP, const Token &Tok) {
tools/clang/lib/Lex/TokenLexer.cpp 139 unsigned MacroArgNo, Preprocessor &PP) {
tools/clang/lib/Parse/ParseAST.cpp 70 const Preprocessor &PP = P.getPreprocessor();
99 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer,
tools/clang/lib/Parse/ParseDecl.cpp 89 static bool FindLocsWithCommonFileID(Preprocessor &PP, SourceLocation StartLoc,
tools/clang/lib/Parse/ParseExprCXX.cpp 50 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken,
tools/clang/lib/Parse/ParseOpenMP.cpp 2451 Preprocessor &PP = P.getPreprocessor();
2529 Preprocessor &PP = P.getPreprocessor();
tools/clang/lib/Parse/ParsePragma.cpp 29 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
35 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
41 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
47 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
54 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
63 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
69 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
75 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
81 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
87 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
94 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
104 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
130 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
141 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
150 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
156 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
162 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
170 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
180 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
189 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
195 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
201 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
209 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
218 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
224 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
234 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
240 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
247 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
258 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
1578 void PragmaGCCVisibilityHandler::HandlePragma(Preprocessor &PP,
1639 void PragmaPackHandler::HandlePragma(Preprocessor &PP,
1751 void PragmaMSStructHandler::HandlePragma(Preprocessor &PP,
1794 void PragmaClangSectionHandler::HandlePragma(Preprocessor &PP,
1843 static void ParseAlignPragma(Preprocessor &PP, Token &FirstTok,
1910 void PragmaAlignHandler::HandlePragma(Preprocessor &PP,
1916 void PragmaOptionsHandler::HandlePragma(Preprocessor &PP,
1923 void PragmaUnusedHandler::HandlePragma(Preprocessor &PP,
2005 void PragmaWeakHandler::HandlePragma(Preprocessor &PP,
2066 void PragmaRedefineExtnameHandler::HandlePragma(Preprocessor &PP,
2110 void PragmaFPContractHandler::HandlePragma(Preprocessor &PP,
2129 void PragmaOpenCLExtensionHandler::HandlePragma(Preprocessor &PP,
2197 void PragmaNoOpenMPHandler::HandlePragma(Preprocessor &PP,
2211 void PragmaOpenMPHandler::HandlePragma(Preprocessor &PP,
2256 void PragmaMSPointersToMembers::HandlePragma(Preprocessor &PP,
2354 void PragmaMSVtorDisp::HandlePragma(Preprocessor &PP,
2440 void PragmaMSPragma::HandlePragma(Preprocessor &PP,
2478 void PragmaDetectMismatchHandler::HandlePragma(Preprocessor &PP,
2534 void PragmaCommentHandler::HandlePragma(Preprocessor &PP,
2615 void PragmaOptimizeHandler::HandlePragma(Preprocessor &PP,
2662 void PragmaFPHandler::HandlePragma(Preprocessor &PP,
2774 static bool ParseLoopHintValue(Preprocessor &PP, Token &Tok, Token PragmaName,
2863 void PragmaLoopHintHandler::HandlePragma(Preprocessor &PP,
2957 void PragmaUnrollHintHandler::HandlePragma(Preprocessor &PP,
3023 void PragmaMSIntrinsicHandler::HandlePragma(Preprocessor &PP,
3062 void PragmaMSOptimizeHandler::HandlePragma(Preprocessor &PP,
3116 Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) {
3166 void PragmaAttributeHandler::HandlePragma(Preprocessor &PP,
tools/clang/lib/Parse/ParseStmtAsm.cpp 297 static bool buildMSAsmString(Preprocessor &PP, SourceLocation AsmLoc,
tools/clang/lib/Parse/Parser.cpp 35 bool HandleComment(Preprocessor &PP, SourceRange Comment) override {
50 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies)
tools/clang/lib/Rewrite/HTMLRewrite.cpp 444 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) {
534 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
579 Preprocessor &TmpPP = const_cast<Preprocessor&>(PP);
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 1218 static StringRef getFallthroughAttrSpelling(Preprocessor &PP,
1301 Preprocessor &PP = S.getPreprocessor();
tools/clang/lib/Sema/IdentifierResolver.cpp 89 IdentifierResolver::IdentifierResolver(Preprocessor &PP)
tools/clang/lib/Sema/Sema.cpp 56 const Preprocessor &PP) {
130 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
tools/clang/lib/Sema/SemaCast.cpp 1931 Preprocessor &PP = Self.getPreprocessor();
tools/clang/lib/Sema/SemaCodeComplete.cpp 1853 const Preprocessor &PP) {
2636 static void MaybeAddSentinel(Preprocessor &PP,
2919 static void AddFunctionParameterChunks(Preprocessor &PP,
3204 Preprocessor &PP, CodeCompletionAllocator &Allocator,
3256 ASTContext &Ctx, Preprocessor &PP, const CodeCompletionContext &CCContext,
3312 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
3331 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
3836 static void AddMacroResults(Preprocessor &PP, ResultBuilder &Results,
3843 for (Preprocessor::macro_iterator M = PP.macro_begin(LoadExternal),
8584 for (Preprocessor::macro_iterator M = PP.macro_begin(),
tools/clang/lib/Sema/SemaLookup.cpp 5320 static std::string getIncludeStringForHeader(Preprocessor &PP,
tools/clang/lib/Sema/SemaObjCProperty.cpp 2239 Preprocessor &PP = getPreprocessor();
tools/clang/lib/Sema/SemaTemplate.cpp 3089 static Expr *lookThroughRangesV3Condition(Preprocessor &PP, Expr *Cond) {
tools/clang/lib/Serialization/ASTReader.cpp 533 Preprocessor &PP) {
3337 llvm::Optional<Preprocessor::PreambleSkipInfo> SkipInfo;
12214 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
tools/clang/lib/Serialization/ASTWriter.cpp 1415 ASTFileSignature ASTWriter::writeUnhashedControlBlock(Preprocessor &PP,
1461 void ASTWriter::WriteControlBlock(Preprocessor &PP, ASTContext &Context,
2275 const Preprocessor &PP) {
2473 const Preprocessor &PP) {
2491 void ASTWriter::WritePreprocessor(const Preprocessor &PP, bool IsModule) {
3613 Preprocessor &PP;
3644 ASTIdentifierTableTrait(ASTWriter &Writer, Preprocessor &PP,
3766 void ASTWriter::WriteIdentifierTable(Preprocessor &PP,
4751 Preprocessor &PP = SemaRef.PP;
tools/clang/lib/Serialization/GeneratePCH.cpp 24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 64 const Preprocessor &PP;
71 const Preprocessor &pp,
139 const std::string &prefix, const Preprocessor &PP,
146 const std::string &prefix, const Preprocessor &PP,
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 43 const Preprocessor &PP;
49 const Preprocessor &PP,
78 const Preprocessor &PP;
84 const Preprocessor &PP,
169 AnalyzerOptions &AnOpts, const Preprocessor &PP,
182 getExpandedMacro(SourceLocation MacroLoc, const Preprocessor &PP,
524 AnalyzerOptions &AnOpts, const Preprocessor &PP,
575 const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU,
585 const std::string &s, const Preprocessor &PP,
593 const std::string &s, const Preprocessor &PP,
835 const Preprocessor &PP;
841 TokenPrinter(llvm::raw_ostream &OS, const Preprocessor &PP)
880 const Preprocessor &PP,
907 const Preprocessor &PP);
916 static const MacroInfo *getMacroInfoForLocation(const Preprocessor &PP,
926 getExpandedMacro(SourceLocation MacroLoc, const Preprocessor &PP,
929 const Preprocessor *PPToUse = &PP;
948 const Preprocessor &PP,
1052 const Preprocessor &PP) {
1201 static const MacroInfo *getMacroInfoForLocation(const Preprocessor &PP,
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 48 const std::string &Output, const Preprocessor &,
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 69 const std::string &prefix, const Preprocessor &PP,
78 const std::string &Prefix, const clang::Preprocessor &PP,
195 const Preprocessor &PP;
tools/clang/lib/Tooling/Syntax/Tokens.cpp 323 TokenCollector::TokenCollector(Preprocessor &PP) : PP(PP) {
tools/clang/tools/c-index-test/core_main.cpp 83 std::shared_ptr<Preprocessor> PP;
93 void setPreprocessor(std::shared_ptr<Preprocessor> PP) override {
tools/clang/tools/clang-import-test/clang-import-test.cpp 84 const Preprocessor *PP = nullptr) override {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp 21 bool PragmaCommentHandler::HandleComment(Preprocessor &PP, SourceRange Range) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/PragmaCommentHandler.h 31 bool HandleComment(Preprocessor &PP, SourceRange Range) override;
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 403 Preprocessor *PP = &Compiler.getPreprocessor();
404 Preprocessor *ModuleExpanderPP = PP;
tools/clang/tools/extra/clang-tidy/ClangTidyCheck.h 71 virtual void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
72 Preprocessor *ModuleExpanderPP) {}
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp 81 PP = std::make_unique<clang::Preprocessor>(PO, Diags, LangOpts, Sources,
94 Preprocessor *ExpandModularHeadersPPCallbacks::getPreprocessor() const {
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.h 49 Preprocessor *getPreprocessor() const;
128 std::unique_ptr<Preprocessor> PP;
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp 117 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
117 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.h 31 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
32 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp 68 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
68 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.h 39 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
40 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp 21 MacroParenthesesPPCallbacks(Preprocessor *PP, MacroParenthesesCheck *Check)
37 Preprocessor *PP;
252 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
252 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/bugprone/MacroParenthesesCheck.h 35 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
36 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp 22 MacroRepeatedPPCallbacks(ClangTidyCheck &Check, Preprocessor &PP)
30 Preprocessor &PP;
175 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
175 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h 23 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
24 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 38 static Preprocessor *PP;
299 Preprocessor::macro_iterator It = PP->macro_begin();
510 const SourceManager &SM, Preprocessor *pp, Preprocessor *ModuleExpanderPP) {
510 const SourceManager &SM, Preprocessor *pp, Preprocessor *ModuleExpanderPP) {
799 Preprocessor::macro_iterator It = PP->macro_begin();
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.h 32 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
33 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp 45 Preprocessor *PP,
46 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.h 28 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
29 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp 40 Preprocessor *PP,
41 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.h 27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
28 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp 72 Preprocessor *PP,
73 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.h 33 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
34 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp 34 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
34 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h 31 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
32 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/fuchsia/RestrictSystemIncludesCheck.cpp 104 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
104 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/fuchsia/RestrictSystemIncludesCheck.h 31 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
32 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp 36 Preprocessor *PP, AvoidUnderscoreInGoogletestNameCheck *Check)
73 Preprocessor *PP;
80 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
80 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h 25 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
26 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp 24 bool HandleComment(Preprocessor &PP, SourceRange Range) override {
61 Preprocessor *PP,
62 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.h 27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
28 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp 46 Preprocessor *PP)
116 Preprocessor *PP;
122 Preprocessor *PP,
123 Preprocessor *) {
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.h 28 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
29 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp 54 Preprocessor *PP,
55 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.h 25 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
26 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp 44 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
44 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.h 39 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
40 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 69 Preprocessor *PP,
70 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.h 29 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
30 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp 168 Preprocessor *PP,
169 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.h 25 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
26 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 136 Preprocessor *PP,
137 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.h 48 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
49 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp 46 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
46 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.h 27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
28 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 166 classifyToken(const FunctionDecl &F, Preprocessor &PP, Token Tok) {
385 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
385 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h 34 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
35 Preprocessor *ModuleExpanderPP) override;
39 Preprocessor *PP = nullptr;
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp 95 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
95 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.h 31 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
32 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 38 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
38 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.h 32 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
33 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 171 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
171 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.h 30 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
31 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 142 IdentifierNamingCheckPPCallbacks(Preprocessor *PP,
160 Preprocessor *PP;
247 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
247 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.h 42 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
43 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.cpp 29 Preprocessor &PP)
90 Preprocessor &PP;
100 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
100 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.h 27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
28 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp 30 HeaderGuardPPCallbacks(Preprocessor *PP, HeaderGuardCheck *Check)
264 Preprocessor *PP;
270 Preprocessor *PP,
271 Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.h 35 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
36 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp 50 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
50 const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.h 57 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
58 Preprocessor *ModuleExpanderPP) override;
tools/clang/tools/extra/clangd/ClangdServer.cpp 65 std::shared_ptr<clang::Preprocessor> PP,
tools/clang/tools/extra/clangd/CodeComplete.cpp 1026 void loadMainFilePreambleMacros(const Preprocessor &PP,
tools/clang/tools/extra/clangd/Diagnostics.cpp 451 const Preprocessor *) {
tools/clang/tools/extra/clangd/Diagnostics.h 124 void BeginSourceFile(const LangOptions &Opts, const Preprocessor *) override;
tools/clang/tools/extra/clangd/ParsedAST.cpp 119 auto &PP = Clang.getPreprocessor();
135 const SourceManager &SM, Preprocessor &PP,
207 Preprocessor &PP;
301 Preprocessor *PP = &Clang->getPreprocessor();
430 Preprocessor &ParsedAST::getPreprocessor() { return Clang->getPreprocessor(); }
432 std::shared_ptr<Preprocessor> ParsedAST::getPreprocessorPtr() {
436 const Preprocessor &ParsedAST::getPreprocessor() const {
471 const Preprocessor &PP = getPreprocessor();
tools/clang/tools/extra/clangd/ParsedAST.h 69 Preprocessor &getPreprocessor();
70 std::shared_ptr<Preprocessor> getPreprocessorPtr();
71 const Preprocessor &getPreprocessor() const;
tools/clang/tools/extra/clangd/Preamble.h 68 std::function<void(ASTContext &, std::shared_ptr<clang::Preprocessor>,
tools/clang/tools/extra/clangd/SourceCode.cpp 981 Preprocessor &PP) {
tools/clang/tools/extra/clangd/SourceCode.h 292 Preprocessor &PP);
tools/clang/tools/extra/clangd/TUScheduler.h 103 std::shared_ptr<clang::Preprocessor> PP,
tools/clang/tools/extra/clangd/XRefs.cpp 356 ReferenceFinder(ASTContext &AST, Preprocessor &PP,
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 68 bool HandleComment(Preprocessor &PP, SourceRange Range) override {
tools/clang/tools/extra/clangd/index/FileIndex.cpp 32 static SlabTuple indexSymbols(ASTContext &AST, std::shared_ptr<Preprocessor> PP,
86 SlabTuple indexHeaderSymbols(ASTContext &AST, std::shared_ptr<Preprocessor> PP,
243 std::shared_ptr<Preprocessor> PP,
tools/clang/tools/extra/clangd/index/FileIndex.h 101 std::shared_ptr<Preprocessor> PP,
144 SlabTuple indexHeaderSymbols(ASTContext &AST, std::shared_ptr<Preprocessor> PP,
tools/clang/tools/extra/clangd/index/SymbolCollector.h 97 void setPreprocessor(std::shared_ptr<Preprocessor> PP) override {
150 std::shared_ptr<Preprocessor> PP;
tools/clang/tools/extra/modularize/CoverageChecker.cpp 107 CoverageCheckerConsumer(CoverageChecker &Checker, Preprocessor &PP) {
tools/clang/tools/extra/modularize/Modularize.cpp 546 Preprocessor &PP, PreprocessorTracker &PPTracker,
651 Preprocessor &PP;
660 Preprocessor &PP, StringRef InFile, int &HadErrors)
676 for (Preprocessor::macro_iterator M = PP.macro_begin(),
693 Preprocessor &PP;
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 269 static std::string getSourceLocationString(clang::Preprocessor &PP,
278 static std::string getSourceLocationFile(clang::Preprocessor &PP,
288 static void getSourceLocationLineAndColumn(clang::Preprocessor &PP,
302 static std::string getSourceString(clang::Preprocessor &PP,
313 static std::string getSourceLine(clang::Preprocessor &PP,
339 static std::string getSourceLine(clang::Preprocessor &PP, clang::FileID FileID,
377 clang::Preprocessor &PP,
401 static std::string getMacroExpandedString(clang::Preprocessor &PP,
489 PPItemKey(clang::Preprocessor &PP, StringHandle Name, HeaderHandle File,
740 clang::Preprocessor &PP, llvm::StringRef rootHeaderFile)
776 clang::Preprocessor &PP;
812 void handlePreprocessorEntry(clang::Preprocessor &PP,
851 bool checkForIncludesInBlock(clang::Preprocessor &PP,
896 void handleHeaderEntry(clang::Preprocessor &PP, llvm::StringRef HeaderPath) {
1045 void addMacroExpansionInstance(clang::Preprocessor &PP, HeaderHandle H,
1094 addConditionalExpansionInstance(clang::Preprocessor &PP, HeaderHandle H,
tools/clang/tools/extra/modularize/PreprocessorTracker.h 47 virtual void handlePreprocessorEntry(clang::Preprocessor &PP,
65 virtual bool checkForIncludesInBlock(clang::Preprocessor &PP,
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp 24 static std::string getSourceLocationString(Preprocessor &PP,
94 Preprocessor &PP)
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.h 83 Preprocessor &PP);
235 Preprocessor &PP;
tools/clang/tools/extra/pp-trace/PPTrace.cpp 87 Preprocessor &PP = CI.getPreprocessor();
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h 63 Preprocessor *PP = &Compiler.getPreprocessor();
tools/clang/tools/extra/unittests/clang-tidy/IncludeInserterTest.cpp 34 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP,
35 Preprocessor *ModuleExpanderPP) override {
tools/clang/tools/libclang/CIndex.cpp 3674 Preprocessor &PP = ASTU->getPreprocessor();
3686 Preprocessor &PP = ASTU->getPreprocessor();
7443 Preprocessor &PP = CXXUnit->getPreprocessor();
8629 Preprocessor &pp = astUnit->getPreprocessor();
8809 Preprocessor &PP = Unit->getPreprocessor();
8854 Preprocessor &PP = Unit->getPreprocessor();
8883 Preprocessor &PP = Unit->getPreprocessor();
tools/clang/tools/libclang/CXIndexDataConsumer.cpp 416 void CXIndexDataConsumer::setPreprocessor(std::shared_ptr<Preprocessor> PP) {
tools/clang/tools/libclang/CXIndexDataConsumer.h 344 void setPreprocessor(std::shared_ptr<Preprocessor> PP) override;
tools/clang/tools/libclang/Indexing.cpp 150 Preprocessor &PP;
166 Preprocessor &pp)
239 Preprocessor &PP;
244 IndexPPCallbacks(Preprocessor &PP, CXIndexDataConsumer &dataConsumer)
358 Preprocessor &PP = CI.getPreprocessor();
642 Preprocessor &PP = Unit.getPreprocessor();
tools/clang/unittests/Basic/SourceManagerTest.cpp 64 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
273 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
391 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
tools/clang/unittests/Frontend/FrontendActionTest.cpp 166 Preprocessor &PP = getCompilerInstance().getPreprocessor();
tools/clang/unittests/Index/IndexTests.cpp 122 std::shared_ptr<Preprocessor> PP;
126 Consumer(std::shared_ptr<Indexer> Index, std::shared_ptr<Preprocessor> PP,
tools/clang/unittests/Lex/LexerTest.cpp 48 std::unique_ptr<Preprocessor> CreatePP(StringRef Source,
56 std::unique_ptr<Preprocessor> PP = std::make_unique<Preprocessor>(
56 std::unique_ptr<Preprocessor> PP = std::make_unique<Preprocessor>(
tools/clang/unittests/Lex/PPCallbacksTest.cpp 185 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
204 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
211 InclusionDirectiveCallbacks *InclusionDirectiveCallback(Preprocessor &PP) {
238 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
272 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags,
tools/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp 79 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
tools/clang/unittests/Tooling/CommentHandlerTest.cpp 36 bool HandleComment(Preprocessor &PP, SourceRange Loc) override {
63 Preprocessor *PP;
91 Preprocessor *PP;
94 CommentVerifier(const CommentList &Comments, Preprocessor *PP)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 599 auto &PP = m_compiler->getPreprocessor();
952 auto &PP = m_compiler->getPreprocessor();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 417 for (clang::Preprocessor::macro_iterator
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
83 constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h 93 class shared_ptr : public __shared_ptr<_Tp>
107 using element_type = typename __shared_ptr<_Tp>::element_type;
236 shared_ptr(const shared_ptr<_Yp>& __r) noexcept
253 shared_ptr(shared_ptr<_Yp>&& __r) noexcept
299 _Assignable<const shared_ptr<_Yp>&>
300 operator=(const shared_ptr<_Yp>& __r) noexcept
324 _Assignable<shared_ptr<_Yp>>
325 operator=(shared_ptr<_Yp>&& __r) noexcept
352 shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
388 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
687 inline shared_ptr<_Tp>
702 inline shared_ptr<_Tp>
705 typedef typename std::remove_const<_Tp>::type _Tp_nc;
706 return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
usr/include/c++/7.4.0/bits/shared_ptr_base.h 882 : is_convertible<_Yp*, _Tp*>::type
882 : is_convertible<_Yp*, _Tp*>::type
956 using element_type = _Tp;
1035 : public __shared_ptr_access<_Tp, _Lp>
1038 using element_type = typename remove_extent<_Tp>::type;
1126 __shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1138 __shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1192 _Assignable<_Yp>
1193 operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1218 _Assignable<_Yp>
1219 operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1272 swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
1321 rebind_traits<typename std::remove_cv<_Tp>::type> __traits;
1344 __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
1377 typename enable_if<!__has_esft_base<_Yp2>::value>::type
1378 _M_enable_shared_from_this_with(_Yp*) noexcept
1431 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
297 __safe_conversion_up<_Up, _Ep>,
301 operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
84 new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1633 { typedef _Tp type; };
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>
1942 { typedef _Tp type; };