HomeSort by relevance Sort by last modified time
    Searched defs:PP (Results 1 - 25 of 31) sorted by null

1 2

  /external/clang/include/clang/Lex/
TokenConcatenation.h 32 Preprocessor &PP;
59 TokenConcatenation(Preprocessor &PP);
PTHManager.h 65 /// PP - The Preprocessor object that will use this PTHManager to create
67 Preprocessor* PP;
124 void setPreprocessor(Preprocessor *pp) { PP = pp; }
TokenLexer.h 39 /// PP - The current preprocessor object we are expanding for.
41 Preprocessor &PP;
102 Preprocessor &pp)
103 : Macro(0), ActualArgs(0), PP(pp), OwnsTokens(false) {
117 bool ownsTokens, Preprocessor &pp)
118 : Macro(0), ActualArgs(0), PP(pp), OwnsTokens(false) {
PreprocessorLexer.h 28 Preprocessor *PP; // Preprocessor object controlling lexing.
58 /// Note that in raw mode that the PP pointer may be null.
73 PreprocessorLexer(Preprocessor *pp, FileID fid);
76 : PP(0), InitialNumSLocEntries(0),
147 Preprocessor *getPP() const { return PP; }
150 assert(PP &&
LiteralSupport.h 39 Preprocessor &PP; // needed for diagnostics
52 SourceLocation Loc, Preprocessor &PP);
133 SourceLocation Loc, Preprocessor &PP,
162 Preprocessor &PP, bool Complain = true);
  /external/clang/lib/Rewrite/
HTMLPrint.cpp 36 Preprocessor &PP;
40 HTMLPrinter(raw_ostream *OS, Preprocessor &pp,
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);
  /external/clang/lib/Frontend/
FrontendActions.cpp 126 Preprocessor &PP = getCompilerInstance().getPreprocessor();
127 SourceManager &SM = PP.getSourceManager();
131 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOptions());
137 PP.DumpToken(RawTok, true);
144 Preprocessor &PP = getCompilerInstance().getPreprocessor();
147 PP.EnterMainSourceFile();
149 PP.Lex(Tok);
150 PP.DumpToken(Tok, true);
171 Preprocessor &PP = getCompilerInstance().getPreprocessor();
174 PP.AddPragmaHandler(new EmptyPragmaHandler())
    [all...]
DependencyFile.cpp 33 const Preprocessor *PP;
49 : PP(_PP), Targets(Opts.Targets), OS(_OS),
74 void clang::AttachDependencyFileGen(Preprocessor &PP,
77 PP.getDiagnostics().Report(diag::err_fe_dependency_file_requires_MT);
84 PP.getDiagnostics().Report(diag::err_fe_error_opening)
91 PP.SetSuppressIncludeNotFoundError(true);
93 PP.addPPCallbacks(new DependencyFileCallback(&PP, OS, Opts));
119 SourceManager &SM = PP->getSourceManager();
FrontendAction.cpp 253 Preprocessor &PP = CI.getPreprocessor();
254 PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(),
255 PP.getLangOptions());
PrintPreprocessedOutput.cpp 36 Preprocessor &PP, raw_ostream &OS) {
72 OS << PP.getSpelling(*I, SpellingBuffer);
82 Preprocessor &PP;
99 PrintPPOutputPPCallbacks(Preprocessor &pp, raw_ostream &os,
101 : PP(pp), SM(PP.getSourceManager()),
102 ConcatInfo(PP), OS(os), DisableLineMarkers(lineMarkers),
112 UseLineDirective = PP.getLangOptions().MicrosoftExt;
310 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS)
    [all...]
CacheTokens.cpp 177 Preprocessor& PP;
219 PTHWriter(llvm::raw_fd_ostream& out, Preprocessor& pp)
220 : Out(out), PP(pp), idcount(0), CurStrOffset(0) {}
268 Emit32(PP.getSourceManager().getFileOffset(T.getLocation()));
303 PP.LookUpIdentifierInfo(Tok);
333 IdentifierInfo* II = PP.LookUpIdentifierInfo(Tok);
356 PP.LookUpIdentifierInfo(Tok);
469 SourceManager &SM = PP.getSourceManager();
470 const LangOptions &LOpts = PP.getLangOptions()
    [all...]
CompilerInstance.cpp 86 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; }
227 PP = new Preprocessor(getDiagnostics(), getLangOpts(), &getTarget(),
235 PTHMgr->setPreprocessor(&*PP);
236 PP->setPTHManager(PTHMgr);
240 PP->createPreprocessingRecord(
243 InitializePreprocessor(*PP, PPOpts, getHeaderSearchOpts(), getFrontendOpts());
252 PP->getHeaderSearchInfo().configureModules(SpecificModuleCache,
260 AttachDependencyFileGen(*PP, DepOpts);
264 AttachHeaderIncludeGen(*PP);
269 AttachHeaderIncludeGen(*PP, /*ShowAllHeaders=*/true, OutputPath
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefBranchChecker.cpp 65 // TODO: The PP will be generated with the correct tag by the CheckerManager
68 ProgramPoint PP = PostCondition(Condition, Pred->getLocationContext(), Tag);
71 ExplodedNode *N = Builder.generateNode(PP, state,
  /external/clang/lib/Serialization/
ChainedIncludesSource.cpp 33 Preprocessor &PP = CI.getPreprocessor();
35 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"",
45 PP.setPredefines(Reader->getSuggestedPredefines());
116 Preprocessor &PP = Clang->getPreprocessor();
117 PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(),
118 PP.getLangOptions());
  /external/clang/include/clang/Frontend/
CompilerInstance.h 77 llvm::IntrusiveRefCntPtr<Preprocessor> PP;
325 bool hasPreprocessor() const { return PP != 0; }
329 assert(PP && "Compiler instance has no preprocessor!");
330 return *PP;
334 PP.resetWithoutRelease();
529 Preprocessor &PP, ASTContext &Context,
541 createCodeCompletionConsumer(Preprocessor &PP, const std::string &Filename,
ASTUnit.h 77 llvm::IntrusiveRefCntPtr<Preprocessor> PP;
447 const Preprocessor &getPreprocessor() const { return *PP; }
448 Preprocessor &getPreprocessor() { return *PP; }
  /external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp 87 const ProgramPoint &PP = EndPathNode->getLocation();
90 if (const BlockEntrance *BE = dyn_cast<BlockEntrance>(&PP)) {
93 L = PathDiagnosticLocation::createDeclEnd(PP.getLocationContext(),
105 PP.getLocationContext());
313 const ProgramPoint &pp = N->getLocation(); local
314 if (const PostStmt *ps = dyn_cast<PostStmt>(&pp)) {
HTMLDiagnostics.cpp 41 const Preprocessor &PP;
44 HTMLDiagnostics(const std::string& prefix, const Preprocessor &pp);
74 const Preprocessor &pp)
76 PP(pp) {
83 const Preprocessor &PP) {
84 return new HTMLDiagnostics(prefix, PP);
173 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOptions());
193 html::SyntaxHighlight(R, FID, PP);
194 html::HighlightMacros(R, FID, PP);
    [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.cpp 50 const Preprocessor &PP) {
52 createHTMLDiagnosticConsumer(llvm::sys::path::parent_path(prefix), PP);
53 return createPlistDiagnosticConsumer(prefix, PP, PD);
65 const Preprocessor &PP;
79 AnalysisConsumer(const Preprocessor& pp,
83 : Ctx(0), PP(pp), OutDir(outdir), Opts(opts), Plugins(plugins), PD(0) {
93 case PD_##NAME: PD = CREATEFN(OutDir, PP); break;
99 PD = createTextPathDiagnosticConsumer("", PP);
146 checkerMgr.reset(createCheckerManager(Opts, PP.getLangOptions(), Plugins
    [all...]
  /external/clang/tools/libclang/
Indexing.cpp 41 Preprocessor &PP;
45 IndexPPCallbacks(Preprocessor &PP, IndexingContext &indexCtx)
46 : PP(PP), IndexCtx(indexCtx) { }
74 MI->getDefinitionLength(PP.getSourceManager()),
210 Preprocessor &PP = CI.getPreprocessor();
211 PP.addPPCallbacks(new IndexPPCallbacks(PP, IndexCtx));
  /frameworks/compile/slang/
slang_rs.cpp 199 clang::Preprocessor &PP = getPreprocessor();
204 PP.setPredefines(RSH.str());
  /external/clang/include/clang/Serialization/
ASTWriter.h 342 const Preprocessor &PP,
344 void WritePreprocessor(const Preprocessor &PP, bool IsModule);
355 void WriteIdentifierTable(Preprocessor &PP, bool IsModule);
634 const Preprocessor &PP;
650 PCHGenerator(const Preprocessor &PP, StringRef OutputFile,
  /external/clang/lib/ARCMigrate/
TransformActions.cpp 31 Preprocessor &PP;
67 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) {
72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr);
98 SourceManager &SrcMgr, Preprocessor &PP) {
99 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP)
101 SrcMgr, PP));
122 ASTContext &ctx, Preprocessor &PP)
123 : CapturedDiags(capturedDiags), Ctx(ctx), PP(PP), IsInTransaction(false) { }
176 SourceManager &SM,Preprocessor &PP);
    [all...]
  /external/clang/lib/Parse/
Parser.cpp 26 Parser::Parser(Preprocessor &pp, Sema &actions)
27 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()),
39 PP.AddPragmaHandler(AlignHandler.get());
42 PP.AddPragmaHandler("GCC", GCCVisibilityHandler.get());
45 PP.AddPragmaHandler(OptionsHandler.get());
48 PP.AddPragmaHandler(PackHandler.get());
51 PP.AddPragmaHandler(MSStructHandler.get());
54 PP.AddPragmaHandler(UnusedHandler.get())
    [all...]
  /external/opencv/cv/src/
cvundistort.cpp 417 double PP[3][3];
418 CvMat _P3x3, _PP=cvMat(3, 3, CV_64F, PP);

Completed in 827 milliseconds

1 2