| /NextBSD/contrib/gcc/ |
| HD | pretty-print.h | 123 #define pp_line_cutoff(PP) pp_base (PP)->wrapping.line_cutoff argument 126 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule argument 129 #define pp_wrapping_mode(PP) pp_base (PP)->wrapping argument 139 #define pp_format_decoder(PP) pp_base (PP)->format_decoder argument 143 #define pp_needs_newline(PP) pp_base (PP)->need_newline argument 146 #define pp_is_wrapping_line(PP) (pp_line_cutoff (PP) > 0) argument 149 #define pp_indentation(PP) pp_base (PP)->indent_skip argument 192 #define pp_set_line_maximum_length(PP, L) \ argument 193 pp_base_set_line_maximum_length (pp_base (PP), L) 194 #define pp_set_prefix(PP, P) pp_base_set_prefix (pp_base (PP), P) argument [all …]
|
| HD | c-pretty-print.h | 97 #define pp_base(PP) (&pp_c_base (PP)->base) argument 107 #define pp_abstract_declarator(PP, D) \ argument 108 pp_c_base (PP)->abstract_declarator (pp_c_base (PP), D) 115 #define pp_direct_abstract_declarator(PP, D) \ argument 116 pp_c_base (PP)->direct_abstract_declarator (pp_c_base (PP), D) 117 #define pp_ptr_operator(PP, D) \ argument 118 pp_c_base (PP)->ptr_operator (pp_c_base (PP), D) 123 #define pp_simple_type_specifier(PP, T) \ argument 124 pp_c_base (PP)->simple_type_specifier (pp_c_base (PP), T) 125 #define pp_function_specifier(PP, D) \ argument [all …]
|
| /NextBSD/contrib/gcc/cp/ |
| HD | cxx-pretty-print.h | 28 #define pp_c_base(PP) (&(PP)->c_base) argument 44 #define pp_cxx_cv_qualifier_seq(PP, T) \ argument 45 pp_c_type_qualifier_list (pp_c_base (PP), T) 47 #define pp_cxx_whitespace(PP) pp_c_whitespace (pp_c_base (PP)) argument 48 #define pp_cxx_left_paren(PP) pp_c_left_paren (pp_c_base (PP)) argument 49 #define pp_cxx_right_paren(PP) pp_c_right_paren (pp_c_base (PP)) argument 50 #define pp_cxx_left_brace(PP) pp_c_left_brace (pp_c_base (PP)) argument 51 #define pp_cxx_right_brace(PP) pp_c_right_brace (pp_c_base (PP)) argument 52 #define pp_cxx_left_bracket(PP) pp_c_left_bracket (pp_c_base (PP)) argument 53 #define pp_cxx_right_bracket(PP) pp_c_right_bracket (pp_c_base (PP)) argument [all …]
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RTDyldMemoryManager.cpp | 154 #define ARM_MATH_IMPORTS(PP) \ argument 155 PP(__aeabi_d2f) \ 156 PP(__aeabi_d2iz) \ 157 PP(__aeabi_d2lz) \ 158 PP(__aeabi_d2uiz) \ 159 PP(__aeabi_d2ulz) \ 160 PP(__aeabi_dadd) \ 161 PP(__aeabi_dcmpeq) \ 162 PP(__aeabi_dcmpge) \ 163 PP(__aeabi_dcmpgt) \ [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParsePragma.cpp | 29 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 35 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 41 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 47 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 53 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 59 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 65 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 71 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 77 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 84 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, [all …]
|
| HD | Parser.cpp | 36 bool HandleComment(Preprocessor &PP, SourceRange Comment) override { in HandleComment() argument 66 Ident__except = PP.getIdentifierInfo("__except"); in getSEHExceptKeyword() 72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser() 89 PP.addCommentHandler(CommentSemaHandler.get()); in Parser() 91 PP.setCodeCompletionHandler(*this); in Parser() 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 189 << PP.getSpelling(Tok) in ExpectAndConsumeSemi() 433 PP.removeCommentHandler(CommentSemaHandler.get()); in ~Parser() 435 PP.clearCodeCompletionHandler(); in ~Parser() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | Pragma.cpp | 43 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() argument 78 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() argument 83 PP.LexUnexpandedToken(Tok); in HandlePragma() 91 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 96 Handler->HandlePragma(PP, Introducer, Tok); in HandlePragma() 128 Preprocessor &PP; member in __anond7bd62230111::LexingFor_PragmaRAII 135 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, in LexingFor_PragmaRAII() argument 137 : PP(PP), InMacroArgPreExpansion(InMacroArgPreExpansion), in LexingFor_PragmaRAII() 141 PP.EnableBacktrackAtThisPos(); in LexingFor_PragmaRAII() 148 PP.CommitBacktrackedTokens(); in ~LexingFor_PragmaRAII() [all …]
|
| HD | PPExpressions.cpp | 59 Preprocessor &PP); 83 bool ValueLive, Preprocessor &PP) { in EvaluateDefined() argument 88 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 95 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 99 if (PP.getCodeCompletionHandler()) in EvaluateDefined() 100 PP.getCodeCompletionHandler()->CodeCompleteMacroName(false); in EvaluateDefined() 101 PP.setCodeCompletionReached(); in EvaluateDefined() 102 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 106 if (PP.CheckMacroName(PeekTok, MU_Other)) in EvaluateDefined() 111 MacroDefinition Macro = PP.getMacroDefinition(II); in EvaluateDefined() [all …]
|
| HD | MacroArgs.cpp | 27 bool VarargsElided, Preprocessor &PP) { in create() argument 35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create() 73 void MacroArgs::destroy(Preprocessor &PP) { in destroy() argument 82 ArgCache = PP.MacroArgCache; in destroy() 83 PP.MacroArgCache = this; in destroy() 132 Preprocessor &PP) const { in ArgNeedsPreexpansion() 148 Preprocessor &PP) { in getPreExpArgument() argument 158 SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true); in getPreExpArgument() 167 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument() 174 PP.Lex(Tok); in getPreExpArgument() [all …]
|
| HD | TokenLexer.cpp | 47 SourceManager &SM = PP.getSourceManager(); in Init() 121 if (ActualArgs) ActualArgs->destroy(PP); in destroy() 126 unsigned MacroArgNo, Preprocessor &PP) { in MaybeRemoveCommaBeforeVaArgs() argument 134 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat) in MaybeRemoveCommaBeforeVaArgs() 142 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode in MaybeRemoveCommaBeforeVaArgs() 152 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs() 199 Res = ActualArgs->getStringifiedArgument(ArgNo, PP, in ExpandFunctionArguments() 205 PP, true, in ExpandFunctionArguments() 258 Macro, ArgNo, PP)) in ExpandFunctionArguments() 270 if (ActualArgs->ArgNeedsPreexpansion(ArgTok, PP)) in ExpandFunctionArguments() [all …]
|
| HD | LiteralSupport.cpp | 509 Preprocessor &PP) in NumericLiteralParser() argument 510 : PP(PP), ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) { in NumericLiteralParser() 540 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin), in NumericLiteralParser() 562 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent - ThisTokBegin), in NumericLiteralParser() 611 if (PP.getLangOpts().MicrosoftExt) { in NumericLiteralParser() 653 if (*s == 'i' && PP.getLangOpts().CPlusPlus14) in NumericLiteralParser() 670 if (isValidUDSuffix(PP.getLangOpts(), UDSuffixBuf)) { in NumericLiteralParser() 685 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, SuffixBegin - ThisTokBegin), in NumericLiteralParser() 694 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, in NumericLiteralParser() 736 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin), in checkSeparator() [all …]
|
| HD | TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); in IsIdentifierStringPrefix() 54 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix() 63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 70 TokenConcatenation::TokenConcatenation(Preprocessor &pp) : PP(pp) { in TokenConcatenation() 90 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation() 103 if (PP.getLangOpts().CPlusPlus1z) in TokenConcatenation() 125 static char GetFirstChar(Preprocessor &PP, const Token &Tok) { in GetFirstChar() argument 133 SourceManager &SM = PP.getSourceManager(); in GetFirstChar() 139 PP.getSpelling(Tok, TokPtr); in GetFirstChar() [all …]
|
| HD | PPMacroExpansion.cpp | 267 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ in RegisterBuiltinMacro() argument 269 IdentifierInfo *Id = PP.getIdentifierInfo(Name); in RegisterBuiltinMacro() 272 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); in RegisterBuiltinMacro() 274 PP.appendDefMacroDirective(Id, MI); in RegisterBuiltinMacro() 340 Preprocessor &PP) { in isTrivialSingleTokenExpansion() argument 349 PP.getExternalSource()->updateOutOfDateIdentifier(*II); in isTrivialSingleTokenExpansion() 353 if (auto *ExpansionMI = PP.getMacroInfo(II)) in isTrivialSingleTokenExpansion() 608 static bool GenerateNewArgTokens(Preprocessor &PP, in GenerateNewArgTokens() argument 659 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 677 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | PrintPreprocessedOutput.cpp | 36 Preprocessor &PP, raw_ostream &OS) { in PrintMacroDefinition() argument 71 OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition() 81 Preprocessor &PP; member in __anon747dc56f0111::PrintPPOutputPPCallbacks 101 : PP(pp), SM(PP.getSourceManager()), ConcatInfo(PP), OS(os), in PrintPPOutputPPCallbacks() 358 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS); in MacroDefined() 572 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, in HandlePragma() 590 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma() 597 PP.Lex(PragmaTok); in HandlePragma() 599 PP.LexUnexpandedToken(PragmaTok); in HandlePragma() 607 static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok, in PrintPreprocessedTokens() argument [all …]
|
| HD | CompilerInstance.cpp | 97 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; } in setPreprocessor() 304 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor() 307 PP->Initialize(getTarget()); in createPreprocessor() 313 PTHMgr->setPreprocessor(&*PP); in createPreprocessor() 314 PP->setPTHManager(PTHMgr); in createPreprocessor() 318 PP->createPreprocessingRecord(); in createPreprocessor() 321 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor() 322 PP->getFileManager(), PPOpts); in createPreprocessor() 325 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(), in createPreprocessor() 329 ApplyHeaderSearchOptions(PP->getHeaderSearchInfo(), getHeaderSearchOpts(), in createPreprocessor() [all …]
|
| HD | DependencyGraph.cpp | 30 const Preprocessor *PP; member in __anon40571f330111::DependencyGraphCallback 47 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } in DependencyGraphCallback() 62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, in AttachDependencyGraphGen() argument 64 PP.addPPCallbacks(llvm::make_unique<DependencyGraphCallback>(&PP, OutputFile, in AttachDependencyGraphGen() 80 SourceManager &SM = PP->getSourceManager(); in InclusionDirective() 103 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputGraphFile()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Analysis/ |
| HD | ReachableCode.cpp | 127 Preprocessor &PP, in isExpandedFromConfigurationMacro() argument 139 SourceManager &SM = PP.getSourceManager(); in isExpandedFromConfigurationMacro() 141 StringRef MacroName = PP.getImmediateMacroName(TopL); in isExpandedFromConfigurationMacro() 150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP); 160 Preprocessor &PP, in isConfigurationValue() argument 173 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal, in isConfigurationValue() 188 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP); in isConfigurationValue() 198 return WrappedInParens || isExpandedFromConfigurationMacro(E, PP, IgnoreYES_NO); in isConfigurationValue() 203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue() 212 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal, in isConfigurationValue() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| HD | InclusionRewriter.cpp | 38 Preprocessor &PP; ///< Used to find inclusion directives. member in __anon1d7b519b0111::InclusionRewriter 53 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers, 93 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS, in InclusionRewriter() argument 96 : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"), in InclusionRewriter() 321 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName() 353 PP.LookUpIdentifierInfo(Tok); in HandleHasInclude() 358 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid); in HandleHasInclude() 374 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid); in HandleHasInclude() 386 bool isAngled = PP.GetIncludeFilenameSpelling(Tok.getLocation(), Filename); in HandleHasInclude() 388 const FileEntry *FileEnt = PP.getSourceManager().getFileEntryForID(FileId); in HandleHasInclude() [all …]
|
| HD | RewriteMacros.cpp | 62 static void LexRawTokensFromMainFile(Preprocessor &PP, in LexRawTokensFromMainFile() argument 64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() 82 PP.LookUpIdentifierInfo(RawTok); in LexRawTokensFromMainFile() 90 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) { in RewriteMacrosInInput() argument 91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() 94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput() 98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput() 104 PP.EnterMainSourceFile(); in RewriteMacrosInInput() 106 PP.Lex(PPTok); in RewriteMacrosInInput() [all …]
|
| HD | HTMLPrint.cpp | 36 Preprocessor &PP; member in __anon72a8c1b50111::HTMLPrinter 42 : Out(OS), PP(pp), SyntaxHighlight(_SyntaxHighlight), in HTMLPrinter() 51 Preprocessor &PP, in CreateHTMLPrinter() argument 54 return llvm::make_unique<HTMLPrinter>(OS, PP, SyntaxHighlight, in CreateHTMLPrinter() 63 if (PP.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit() 85 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP); in HandleTranslationUnit() 86 if (HighlightMacros) html::HighlightMacros(R, FID, PP); in HandleTranslationUnit()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | MacroArgs.h | 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,
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | ASTTypeTraits.cpp | 113 const PrintingPolicy &PP) const { in print() 115 TA->print(PP, OS); in print() 117 NNS->print(OS, PP); in print() 119 NNSL->getNestedNameSpecifier()->print(OS, PP); in print() 121 QT->print(OS, PP); in print() 123 TL->getType().print(OS, PP); in print() 125 D->print(OS, PP); in print() 127 S->printPretty(OS, nullptr, PP); in print() 129 QualType(T, 0).print(OS, PP); in print()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | GeneratePCH.cpp | 26 PCHGenerator::PCHGenerator(const Preprocessor &PP, StringRef OutputFile, in PCHGenerator() argument 30 : PP(PP), OutputFile(OutputFile), Module(Module), isysroot(isysroot.str()), in PCHGenerator() 41 if (PP.getModuleLoader().HadFatalFailure) in HandleTranslationUnit() 44 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | TransformActions.cpp | 32 Preprocessor &PP; member in __anon4300d80e0111::TransformActionsImpl 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange() 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 99 SourceManager &SrcMgr, Preprocessor &PP) { in compare() 100 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP) in compare() 102 SrcMgr, PP)); in compare() 123 ASTContext &ctx, Preprocessor &PP) in TransformActionsImpl() argument 124 : CapturedDiags(capturedDiags), Ctx(ctx), PP(PP), IsInTransaction(false) { } in TransformActionsImpl() 179 SourceManager &SM,Preprocessor &PP); 392 return PP.isAtStartOfMacroExpansion(loc); in canInsert() [all …]
|
| /NextBSD/contrib/groff/contrib/mom/examples/ |
| HD | sample_docs.mom | 55 .PP 61 .PP 66 .PP 72 .PP 77 .PP 87 .PP 92 .PP 99 .PP 104 .PP 109 .PP [all …]
|