Searched refs:PP (Results 101 - 125 of 181) sorted by relevance

12345678

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h159 bool PP = false)
160 : Lang(L), Fmt(F), Preprocessed(PP) {}
H A DASTUnit.h116 std::shared_ptr<Preprocessor> PP; member in class:clang::ASTUnit
435 const Preprocessor &getPreprocessor() const { return *PP; }
436 Preprocessor &getPreprocessor() { return *PP; }
437 std::shared_ptr<Preprocessor> getPreprocessorPtr() const { return PP; }
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp71 auto &Map = PP.getHeaderSearchInfo().getModuleMap();
179 auto &Map = PP.getHeaderSearchInfo().getModuleMap();
206 PP.getIdentifierInfo(ModuleName), Path[0].second);
283 auto &Map = PP.getHeaderSearchInfo().getModuleMap();
320 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second};
H A DSemaCoroutine.cpp33 DeclarationName DN = S.PP.getIdentifierInfo(Name);
110 LookupResult R(S, &S.PP.getIdentifierTable().get("promise_type"), KwLoc,
152 LookupResult Result(S, &S.PP.getIdentifierTable().get("coroutine_handle"),
320 LookupResult Found(S, &S.PP.getIdentifierTable().get("from_address"), Loc,
349 DeclarationNameInfo NameInfo(&S.PP.getIdentifierTable().get(Name), Loc);
498 &PP.getIdentifierTable().get("__promise"), T,
906 LookupResult Result(S, &S.PP.getIdentifierTable().get("nothrow"), Loc,
1085 S.PP.getIdentifierInfo("get_return_object_on_allocation_failure");
1450 &S.PP.getIdentifierTable().get("__coro_gro"), GroType,
1575 &PP
[all...]
H A DSema.cpp53 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); }
71 const Preprocessor &PP) {
77 if (const MacroInfo *BoolMacro = PP.getMacroInfo(Context.getBoolName())) {
148 FPFeatures(pp.getLangOpts()), LangOpts(pp.getLangOpts()), PP(pp),
149 Context(ctxt), Consumer(consumer), Diags(PP.getDiagnostics()),
150 SourceMgr(PP.getSourceManager()), CollectStats(false),
203 PP.addPPCallbacks(std::move(Callbacks));
227 VAListTagName = PP.getIdentifierInfo("__va_list_tag");
410 // Detach from the PP callback handler which outlives Sema since it's owned
981 if (PP
70 getPrintingPolicy(const ASTContext &Context, const Preprocessor &PP) argument
[all...]
H A DSemaCodeComplete.cpp1841 const Preprocessor &PP) {
1842 PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP);
1852 return getCompletionPrintingPolicy(S.Context, S.PP);
2550 if (SemaRef.PP.isMacroDefined("alignof"))
2631 static void MaybeAddSentinel(Preprocessor &PP, argument
2636 if (PP.getLangOpts().ObjC && PP.isMacroDefined("nil"))
2638 else if (PP.isMacroDefined("NULL"))
2914 static void AddFunctionParameterChunks(Preprocessor &PP, argument
2932 AddFunctionParameterChunks(PP, Polic
1840 getCompletionPrintingPolicy(const ASTContext &Context, const Preprocessor &PP) argument
3202 CreateCodeCompletionStringForMacro( Preprocessor &PP, CodeCompletionAllocator &Allocator, CodeCompletionTUInfo &CCTUInfo) argument
3254 CreateCodeCompletionString( ASTContext &Ctx, Preprocessor &PP, const CodeCompletionContext &CCContext, CodeCompletionAllocator &Allocator, CodeCompletionTUInfo &CCTUInfo, bool IncludeBriefComments) argument
3310 createCodeCompletionStringForOverride( Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result, bool IncludeBriefComments, const CodeCompletionContext &CCContext, PrintingPolicy &Policy) argument
3341 createCodeCompletionStringForDecl( Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result, bool IncludeBriefComments, const CodeCompletionContext &CCContext, PrintingPolicy &Policy) argument
3863 AddMacroResults(Preprocessor &PP, ResultBuilder &Results, bool LoadExternal, bool IncludeUndefined, bool TargetTypeIsPointer = false) argument
[all...]
H A DAnalysisBasedWarnings.cpp1218 static StringRef getFallthroughAttrSpelling(Preprocessor &PP, argument
1222 PP.getIdentifierInfo("fallthrough"),
1227 tok::l_square, tok::l_square, PP.getIdentifierInfo("clang"),
1228 tok::coloncolon, PP.getIdentifierInfo("fallthrough"),
1232 bool PreferClangAttr = !PP.getLangOpts().CPlusPlus17 && !PP.getLangOpts().C2x;
1236 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens);
1238 MacroName = PP.getLastMacroWithSpelling(Loc, FallthroughTokens);
1240 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens);
1244 else if (PP
1301 Preprocessor &PP = S.getPreprocessor(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h267 ExplodedNode *generateNodeImpl(const ProgramPoint &PP,
289 ExplodedNode *generateNode(const ProgramPoint &PP, argument
292 return generateNodeImpl(PP, State, Pred, false);
300 ExplodedNode *generateSink(const ProgramPoint &PP, argument
303 return generateNodeImpl(PP, State, Pred, true);
/freebsd-11-stable/contrib/gcc/cp/
H A Dcxx-pretty-print.c61 #define pp_cxx_storage_class_specifier(PP, T) \
62 pp_c_storage_class_specifier (pp_c_base (PP), T)
63 #define pp_cxx_expression_list(PP, T) \
64 pp_c_expression_list (pp_c_base (PP), T)
65 #define pp_cxx_space_for_pointer_operator(PP, T) \
66 pp_c_space_for_pointer_operator (pp_c_base (PP), T)
67 #define pp_cxx_init_declarator(PP, T) \
68 pp_c_init_declarator (pp_c_base (PP), T)
69 #define pp_cxx_call_argument_list(PP, T) \
70 pp_c_call_argument_list (pp_c_base (PP),
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp990 if (PP.isBacktrackEnabled() && Tok.is(tok::semi)) {
992 PP.RevertCachedTokens(2);
1043 if (PP.isBacktrackEnabled())
1044 PP.RevertCachedTokens(1);
1046 PP.EnterToken(Tok, /*IsReinject*/true);
1055 PP.AnnotateCachedTokens(Tok);
1744 PP.EnterToken(Tok, /*IsReinject*/true);
1860 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc);
2021 PP.EnterToken(Tok, /*IsReinject=*/true);
2216 Ident_final = &PP
[all...]
H A DParseExpr.cpp281 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")")
433 PP.EnterToken(Tok, /*IsReinject*/true);
443 PP.EnterToken(Tok, /*IsReinject*/true);
456 PP.EnterToken(Tok, /*IsReinject*/true);
470 << /*RHS*/ 1 << PP.getSpelling(OpToken)
503 const SourceManager &SM = PP.getSourceManager();
504 if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc, &FILoc)) {
573 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get());
609 << /*RHS*/1 << PP.getSpelling(OpToken)
1031 RevertibleTypeTraits[PP
[all...]
H A DParseExprCXX.cpp45 SourceManager &SM = PP.getSourceManager();
52 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken, argument
56 PP.Lex(DigraphToken);
57 PP.Lex(ColonToken);
74 PP.EnterToken(ColonToken, /*IsReinject*/ true);
76 PP.EnterToken(DigraphToken, /*IsReinject*/ true);
100 FixDigraph(*this, PP, Next, SecondToken, tok::unknown,
401 PP.LookAhead(1).is(tok::identifier)) {
414 Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected)
435 PP
[all...]
H A DParseDecl.cpp89 static bool FindLocsWithCommonFileID(Preprocessor &PP, SourceLocation StartLoc, argument
94 SourceManager &SM = PP.getSourceManager();
99 Lexer::isAtStartOfMacroExpansion(StartLoc, SM, PP.getLangOpts());
101 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts());
227 auto &SM = PP.getSourceManager();
229 FindLocsWithCommonFileID(PP, AttrTokLoc, Loc)) {
232 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts());
233 IdentifierInfo *MacroII = PP.getIdentifierInfo(FoundName);
699 StringRef Str = PP.getSpelling(Tok, StrBuffer, &Invalid);
704 AttrName = PP
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h142 const Preprocessor *PP, const Decl *D) const;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp480 PrintingPolicy PP(Ctx.getLangOpts());
481 PP.TerseOutput = 1;
523 PrintingPolicy PP(Ctx.getLangOpts());
524 PP.TerseOutput = 1;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h945 Preprocessor &PP,
954 CreateCodeCompletionStringForMacro(Preprocessor &PP,
959 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
964 Preprocessor &PP, ASTContext &Ctx, CodeCompletionBuilder &Result,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h275 Preprocessor &PP; member in class:clang::PCHValidator
279 PCHValidator(Preprocessor &PP, ASTReader &Reader) argument
280 : PP(PP), Reader(Reader) {}
304 Preprocessor &PP; member in class:clang::SimpleASTReaderListener
307 SimpleASTReaderListener(Preprocessor &PP) : PP(PP) {} argument
417 Preprocessor &PP; member in class:clang::ASTReader
1441 /// \param PP th
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h141 Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP);
164 unsigned TokLen, Preprocessor &PP);
H A DMacroInfo.h145 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP,
515 static ModuleMacro *create(Preprocessor &PP, Module *OwningModule,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp436 const LangOptions &ExistingLangOpts = PP.getLangOpts();
445 const TargetOptions &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts();
536 Preprocessor &PP) {
553 Module *M = PP.getHeaderSearchInfo().lookupModule(ModuleName);
560 DiagnosticsEngine &ExistingDiags = PP.getDiagnostics();
571 Module *TopM = getTopImportImplicitModule(ModuleMgr, PP);
751 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts();
755 PP.getFileManager(),
757 PP.getLangOpts());
765 PP
535 getTopImportImplicitModule(ModuleManager &ModuleMgr, Preprocessor &PP) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dxcoffread.c1060 #define CSECT(PP) ((PP)->x_csect)
1061 #define CSECT_LEN(PP) (CSECT(PP).x_scnlen.l)
1062 #define CSECT_ALIGN(PP) (SMTYP_ALIGN(CSECT(PP).x_smtyp))
1063 #define CSECT_SMTYP(PP) (SMTYP_SMTYP(CSECT(PP).x_smtyp))
1064 #define CSECT_SCLAS(PP) (CSECT(PP)
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp146 PrintingPolicy &PP) const {
170 S->printJson(Out, Helper, PP, /*AddQuotes=*/true);
558 PrintingPolicy PP = local
586 Key.printJson(Out, nullptr, PP);
811 LoopExit PP(S, Pred->getLocationContext());
812 Bldr.generateNode(PP, NewState, Pred);
882 PostInitializer PP(BMI, FieldLoc.getAsRegion(), stackFrame);
883 evalBind(Tmp, Init, Pred, FieldLoc, InitVal, /*isInit=*/true, &PP);
893 PostInitializer PP(BMI, FieldLoc.getAsRegion(), stackFrame);
898 Bldr.generateNode(PP, Stat
2791 evalBind(ExplodedNodeSet &Dst, const Stmt *StoreE, ExplodedNode *Pred, SVal location, SVal Val, bool atDeclInit, const ProgramPoint *PP) argument
[all...]
H A DSarifDiagnostics.cpp51 const std::string &Output, const Preprocessor &PP,
53 C.push_back(new SarifDiagnostics(AnalyzerOpts, Output, PP.getLangOpts()));
49 createSarifDiagnosticConsumer( AnalyzerOptions &AnalyzerOpts, PathDiagnosticConsumers &C, const std::string &Output, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp203 const Preprocessor *PP,
215 PP);
202 parse(const ASTContext &Context, const Preprocessor *PP, const Decl *D) const argument
/freebsd-11-stable/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc2man125 return '.PP';
152 $reference->{optional}\n.PP

Completed in 344 milliseconds

12345678