Searched refs:PP (Results 1 - 25 of 165) sorted by relevance

1234567

/freebsd-10-stable/contrib/gcc/
H A Dpretty-print.h123 #define pp_line_cutoff(PP) pp_base (PP)->wrapping.line_cutoff
126 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
129 #define pp_wrapping_mode(PP) pp_base (PP)->wrapping
139 #define pp_format_decoder(PP) pp_base (PP)->format_decoder
143 #define pp_needs_newline(PP) pp_base (PP)
[all...]
H A Dc-pretty-print.h97 #define pp_base(PP) (&pp_c_base (PP)->base)
107 #define pp_abstract_declarator(PP, D) \
108 pp_c_base (PP)->abstract_declarator (pp_c_base (PP), D)
115 #define pp_direct_abstract_declarator(PP, D) \
116 pp_c_base (PP)->direct_abstract_declarator (pp_c_base (PP), D)
117 #define pp_ptr_operator(PP, D) \
118 pp_c_base (PP)
[all...]
/freebsd-10-stable/contrib/gcc/cp/
H A Dcxx-pretty-print.h28 #define pp_c_base(PP) (&(PP)->c_base)
44 #define pp_cxx_cv_qualifier_seq(PP, T) \
45 pp_c_type_qualifier_list (pp_c_base (PP), T)
47 #define pp_cxx_whitespace(PP) pp_c_whitespace (pp_c_base (PP))
48 #define pp_cxx_left_paren(PP) pp_c_left_paren (pp_c_base (PP))
49 #define pp_cxx_right_paren(PP) pp_c_right_paren (pp_c_base (PP))
[all...]
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/
H A DRTDyldMemoryManager.cpp154 #define ARM_MATH_IMPORTS(PP) \
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_dcmpg
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h24 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
27 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
30 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessorLexer.cpp23 : PP(pp), FID(fid), InitialNumSLocEntries(0),
44 PP->Lex(FilenameTok);
51 PP->Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename);
57 return PP->getSourceManager().getFileEntryForID(getFileID());
H A DMacroArgs.cpp27 bool VarargsElided, Preprocessor &PP) {
35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry;
73 void MacroArgs::destroy(Preprocessor &PP) { argument
82 ArgCache = PP.MacroArgCache;
83 PP.MacroArgCache = this;
132 Preprocessor &PP) const {
137 if (II->hasMacroDefinition() && PP.getMacroInfo(II)->isEnabled())
149 Preprocessor &PP) {
159 SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true);
168 PP
25 create(const MacroInfo *MI, ArrayRef<Token> UnexpArgTokens, bool VarargsElided, Preprocessor &PP) argument
148 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP) argument
195 StringifyArgument(const Token *ArgToks, Preprocessor &PP, bool Charify, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd) argument
297 getStringifiedArgument(unsigned ArgNo, Preprocessor &PP, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd) argument
[all...]
H A DPragma.cpp42 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, argument
81 void PragmaNamespace::HandlePragma(Preprocessor &PP, argument
86 PP.LexUnexpandedToken(Tok);
94 PP.Diag(Tok, diag::warn_pragma_ignored);
99 Handler->HandlePragma(PP, Introducer, Tok);
131 Preprocessor &PP; member in class:__anon3324::LexingFor_PragmaRAII
138 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, argument
140 : PP(PP), InMacroArgPreExpansion(InMacroArgPreExpansion),
144 PP
815 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &OnceTok) argument
826 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &MarkTok) argument
835 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &PoisonTok) argument
845 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &SHToken) argument
853 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &DepToken) argument
861 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &DepToken) argument
901 HandleCaptured(Preprocessor &PP) argument
945 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &DiagToken) argument
1011 LexSimpleInt(Preprocessor &PP, Token &Tok) argument
1034 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
1138 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &IncludeAliasTok) argument
1180 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
1233 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &PushMacroTok) argument
1244 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &PopMacroTok) argument
1255 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
1269 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
1279 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &UnknownTok) argument
1290 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &NameTok) argument
1354 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &NameTok) argument
[all...]
H A DPPExpressions.cpp59 Preprocessor &PP);
83 bool ValueLive, Preprocessor &PP) {
89 PP.LexUnexpandedNonComment(PeekTok);
96 PP.LexUnexpandedNonComment(PeekTok);
100 if (PP.getCodeCompletionHandler())
101 PP.getCodeCompletionHandler()->CodeCompleteMacroName(false);
102 PP.setCodeCompletionReached();
103 PP.LexUnexpandedNonComment(PeekTok);
108 PP.Diag(PeekTok, diag::err_pp_defined_requires_identifier);
119 Macro = PP
82 EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
170 EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
457 EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec, Token &PeekTok, bool ValueLive, Preprocessor &PP) argument
[all...]
H A DTokenConcatenation.cpp49 const LangOptions &LangOpts = PP.getLangOpts();
54 SourceManager &SM = PP.getSourceManager();
63 unsigned length = PP.getSpelling(Tok, TokPtr);
67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
70 TokenConcatenation::TokenConcatenation(Preprocessor &pp) : PP(pp) {
90 if (PP.getLangOpts().CPlusPlus11) {
121 static char GetFirstChar(Preprocessor &PP, const Token &Tok) { argument
129 SourceManager &SM = PP.getSourceManager();
135 PP.getSpelling(Tok, TokPtr);
138 return PP
[all...]
H A DTokenLexer.cpp46 SourceManager &SM = PP.getSourceManager();
119 if (ActualArgs) ActualArgs->destroy(PP);
128 Preprocessor &PP) {
136 if (!HasPasteOperator && !PP.getLangOpts().MicrosoftMode)
144 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode
154 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma);
203 Res = ActualArgs->getStringifiedArgument(ArgNo, PP,
209 PP, true,
258 Macro, ArgNo, PP))
124 MaybeRemoveCommaBeforeVaArgs(SmallVectorImpl<Token> &ResultToks, bool &NextTokGetsSpace, bool HasPasteOperator, MacroInfo *Macro, unsigned MacroArgNo, Preprocessor &PP) argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteTest.cpp19 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream* OS) { argument
20 SourceManager &SM = PP.getSourceManager();
21 const LangOptions &LangOpts = PP.getLangOpts();
38 *OS << PP.getSpelling(*I);
H A DRewriteMacros.cpp62 static void LexRawTokensFromMainFile(Preprocessor &PP,
64 SourceManager &SM = PP.getSourceManager();
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
82 PP.LookUpIdentifierInfo(RawTok);
90 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) {
91 SourceManager &SM = PP.getSourceManager();
94 Rewrite.setSourceMgr(SM, PP.getLangOpts());
98 LexRawTokensFromMainFile(PP, RawTokens);
104 PP.EnterMainSourceFile();
106 PP
[all...]
H A DHTMLPrint.cpp36 Preprocessor &PP; member in class:__anon3344::HTMLPrinter
42 : Out(OS), PP(pp), SyntaxHighlight(_SyntaxHighlight),
51 Preprocessor &PP,
54 return new HTMLPrinter(OS, PP, SyntaxHighlight, HighlightMacros);
62 if (PP.getDiagnostics().hasErrorOccurred())
84 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP);
85 if (HighlightMacros) html::HighlightMacros(R, FID, PP);
50 CreateHTMLPrinter(raw_ostream *OS, Preprocessor &PP, bool SyntaxHighlight, bool HighlightMacros) argument
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp133 PP.Diag(Tok, diag::err_expected_lbrace);
178 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
188 void PragmaGCCVisibilityHandler::HandlePragma(Preprocessor &PP, argument
194 PP.LexUnexpandedToken(Tok);
202 PP.LexUnexpandedToken(Tok);
204 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen)
208 PP.LexUnexpandedToken(Tok);
211 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier)
215 PP.LexUnexpandedToken(Tok);
217 PP
247 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &PackTok) argument
363 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &MSStructTok) argument
407 ParseAlignPragma(Preprocessor &PP, Token &FirstTok, bool IsOptions) argument
474 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &AlignTok) argument
480 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &OptionsTok) argument
487 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &UnusedTok) argument
569 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &WeakTok) argument
630 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &RedefToken) argument
676 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
697 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
760 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstTok) argument
777 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstTok) argument
812 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
868 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument
[all...]
H A DParsePragma.h27 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
35 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
43 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
51 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
59 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
75 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
83 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
90 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
98 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKin
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
H A DGeneratePCH.cpp27 PCHGenerator::PCHGenerator(const Preprocessor &PP, argument
32 : PP(PP), OutputFile(OutputFile), Module(Module),
44 if (PP.getModuleLoader().HadFatalFailure)
47 bool hasErrors = PP.getDiagnostics().hasErrorOccurred();
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DTokenConcatenation.h32 Preprocessor &PP; member in class:clang::TokenConcatenation
59 TokenConcatenation(Preprocessor &PP);
H A DMacroArgs.h64 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,
113 Preprocessor &PP, bool Charify,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DASTTypeTraits.cpp60 const PrintingPolicy &PP) const {
62 TA->print(PP, OS);
64 NNS->print(OS, PP);
66 NNSL->getNestedNameSpecifier()->print(OS, PP);
68 QT->print(OS, PP);
70 TL->getType().print(OS, PP);
72 D->print(OS, PP);
74 S->printPretty(OS, 0, PP);
76 QualType(T, 0).print(OS, PP);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DChainedDiagnosticConsumer.h36 const Preprocessor *PP) {
37 Primary->BeginSourceFile(LO, PP);
38 Secondary->BeginSourceFile(LO, PP);
35 BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) argument
H A DUtils.h60 void InitializePreprocessor(Preprocessor &PP,
72 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS,
77 void AttachDependencyFileGen(Preprocessor &PP,
82 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
96 void AttachHeaderIncludeGen(Preprocessor &PP, bool ShowAllHeaders = false,
102 void CacheTokens(Preprocessor &PP, llvm::raw_fd_ostream* OS);
/freebsd-10-stable/sys/netgraph/atm/
H A Dngatmbase.h53 #define uni_msg_unpack_mbuf(M, PP) \
54 _uni_msg_unpack_mbuf((M), (PP), __FILE__, __LINE__)
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyGraph.cpp30 const Preprocessor *PP; member in class:__anon3297::DependencyGraphCallback
47 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { }
66 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, argument
68 PP.addPPCallbacks(new DependencyGraphCallback(&PP, OutputFile, SysRoot));
83 SourceManager &SM = PP->getSourceManager();
106 PP->getDiagnostics().Report(diag::err_fe_error_opening)
H A DPrintPreprocessedOutput.cpp36 Preprocessor &PP, raw_ostream &OS) {
72 OS << PP.getSpelling(*I, SpellingBuffer);
82 Preprocessor &PP; member in class:__anon3303::PrintPPOutputPPCallbacks
102 : PP(pp), SM(PP.getSourceManager()),
103 ConcatInfo(PP), OS(os), DisableLineMarkers(lineMarkers),
114 UseLineDirective = PP.getLangOpts().MicrosoftExt;
377 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS);
605 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, argument
616 std::string TokSpell = PP
35 PrintMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI, Preprocessor &PP, raw_ostream &OS) argument
626 PrintPreprocessedTokens(Preprocessor &PP, Token &Tok, PrintPPOutputPPCallbacks *Callbacks, raw_ostream &OS) argument
703 DoPrintMacros(Preprocessor &PP, raw_ostream *OS) argument
735 DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts) argument
[all...]

Completed in 702 milliseconds

1234567