/external/clang/include/clang/Lex/ |
PTHManager.h | 65 /// PP - The Preprocessor object that will use this PTHManager to create 67 Preprocessor* PP; 123 void setPreprocessor(Preprocessor *pp) { PP = pp; }
|
LiteralSupport.h | 43 Preprocessor &PP; // needed for diagnostics 59 Preprocessor &PP); 163 SourceLocation Loc, Preprocessor &PP, 200 Preprocessor &PP, bool Complain = true);
|
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 1 //===- unittests/Lex/PPConditionalDirectiveRecordTest.cpp-PP directive tests =// 99 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 103 PP.Initialize(*Target); 106 PP.addPPCallbacks(PPRec); 107 PP.EnterMainSourceFile(); 112 PP.Lex(tok);
|
/external/clang/lib/Frontend/ |
CompilerInstance.cpp | 96 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; } 303 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), 306 PP->Initialize(getTarget()); 312 PTHMgr->setPreprocessor(&*PP); 313 PP->setPTHManager(PTHMgr); 317 PP->createPreprocessingRecord(); 320 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), 321 PP->getFileManager(), PPOpts); 324 InitializePreprocessor(*PP, PPOpts, getFrontendOpts()) [all...] |
CacheTokens.cpp | 187 Preprocessor& PP; 239 PTHWriter(llvm::raw_fd_ostream& out, Preprocessor& pp) 240 : Out(out), PP(pp), idcount(0), CurStrOffset(0) {} 288 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); 326 PP.LookUpIdentifierInfo(Tok); 356 IdentifierInfo* II = PP.LookUpIdentifierInfo(Tok); 379 PP.LookUpIdentifierInfo(Tok); 492 SourceManager &SM = PP.getSourceManager(); 493 const LangOptions &LOpts = PP.getLangOpts() [all...] |
InitPreprocessor.cpp | 1 //===--- InitPreprocessor.cpp - PP initialization code. ---------*- C++ -*-===// 85 static void AddImplicitIncludePTH(MacroBuilder &Builder, Preprocessor &PP, 87 PTHManager *P = PP.getPTHManager(); 92 PP.getDiagnostics().Report(diag::err_fe_pth_file_has_no_source_header) 97 AddImplicitInclude(Builder, OriginalFile, PP.getFileManager()); 102 static void AddImplicitIncludePCH(MacroBuilder &Builder, Preprocessor &PP, 105 ASTReader::getOriginalSourceFile(ImplicitIncludePCH, PP.getFileManager(), 106 PP.getDiagnostics()); 110 AddImplicitInclude(Builder, OriginalFile, PP.getFileManager()); [all...] |
ChainedIncludesSource.cpp | 80 Preprocessor &PP = CI.getPreprocessor(); 82 Reader.reset(new ASTReader(PP, CI.getASTContext(), /*isysroot=*/"", 93 PP.setPredefines(Reader->getSuggestedPredefines()); 170 Preprocessor &PP = Clang->getPreprocessor(); 171 PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(), 172 PP.getLangOpts());
|
FrontendActions.cpp | 548 Preprocessor &PP = getCompilerInstance().getPreprocessor(); 549 SourceManager &SM = PP.getSourceManager(); 553 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 559 PP.DumpToken(RawTok, true); 566 Preprocessor &PP = getCompilerInstance().getPreprocessor(); 569 PP.EnterMainSourceFile(); 571 PP.Lex(Tok); 572 PP.DumpToken(Tok, true); 593 Preprocessor &PP = getCompilerInstance().getPreprocessor(); 596 PP.IgnorePragmas() [all...] |
VerifyDiagnosticConsumer.cpp | 77 const Preprocessor *PP) { 80 if (PP) { 81 CurrentPreprocessor = PP; 83 setSourceManager(PP->getSourceManager()); 84 const_cast<Preprocessor*>(PP)->addCommentHandler(this); 88 const_cast<Preprocessor*>(PP)->addPPCallbacks(V); 93 assert((!PP || CurrentPreprocessor == PP) && "Preprocessor changed!"); 94 PrimaryClient->BeginSourceFile(LangOpts, PP); 314 Preprocessor *PP, SourceLocation Pos [all...] |
/external/clang/lib/Lex/ |
Lexer.cpp | 109 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP) 110 : PreprocessorLexer(&PP, FID), 111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), 112 LangOpts(PP.getLangOpts()) { 121 assert(PP && "Cannot reset token mode without a preprocessor"); 125 SetCommentRetentionState(PP->getCommentRetentionState()); 173 unsigned TokLen, Preprocessor &PP) { 174 SourceManager &SM = PP.getSourceManager(); 179 Lexer *L = new Lexer(SpellingFID, InputFile, PP); [all...] |
MacroInfo.cpp | 72 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, 122 if (PP.getSpelling(A) != PP.getSpelling(B))
|
PTHLexer.cpp | 38 PTHLexer::PTHLexer(Preprocessor &PP, FileID FID, const unsigned char *D, 40 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(nullptr), 43 FileStartLoc = PP.getSourceManager().getLocForStartOfFile(FID); 94 return PP->HandleIdentifier(Tok); 115 PP->HandleDirective(Tok); 143 if (PP->getCodeCompletionFileLoc() != FileStartLoc) 144 PP->Diag(ConditionalStack.back().IfLoc, 150 return PP->HandleEndOfFile(Result); 191 assert(CurPPCondPtr && "No cached PP conditional information."); 231 assert(HashEntryI == LastHashTokPtr && "No PP-cond entry found for '#'") [all...] |
/external/clang/include/clang/Frontend/ |
LogDiagnosticPrinter.h | 68 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override {
|
CompilerInstance.h | 88 IntrusiveRefCntPtr<Preprocessor> PP; 394 bool hasPreprocessor() const { return PP != nullptr; } 398 assert(PP && "Compiler instance has no preprocessor!"); 399 return *PP; 403 BuryPointer(PP.get()); 404 PP.resetWithoutRelease(); 592 bool AllowPCHWithCompilerErrors, Preprocessor &PP, ASTContext &Context, 604 createCodeCompletionConsumer(Preprocessor &PP, const std::string &Filename,
|
VerifyDiagnosticConsumer.h | 251 const Preprocessor *PP) override; 269 bool HandleComment(Preprocessor &PP, SourceRange Comment) override;
|
/external/clang/lib/Rewrite/Core/ |
HTMLRewrite.cpp | 357 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) { 360 const SourceManager &SM = PP.getSourceManager(); 362 Lexer L(FID, FromFile, SM, PP.getLangOpts()); 386 PP.LookUpIdentifierInfo(Tok); 388 // If this is a pp-identifier, for a keyword, highlight it as such. 446 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) { 448 const SourceManager &SM = PP.getSourceManager(); 452 Lexer L(FID, FromFile, SM, PP.getLangOpts()); 475 PP.LookUpIdentifierInfo(Tok); 484 DiagnosticsEngine TmpDiags(PP.getDiagnostics().getDiagnosticIDs() [all...] |
/external/pcre/dist/ |
CheckMan | 40 ^\.PP\s*$|
|
/external/bison/doc/ |
bison.x | 11 .PP 36 .PP 44 .PP
|
/external/llvm/lib/Transforms/Utils/ |
LoopUnroll.cpp | 149 LoopInfo *LI, Pass *PP, LPPassManager *LPM) { 217 if (PP) { 218 ScalarEvolution *SE = PP->getAnalysisIfAvailable<ScalarEvolution>(); 436 if (PP) { 440 PP->getAnalysisIfAvailable<DominatorTreeWrapperPass>()) { 446 ScalarEvolution *SE = PP->getAnalysisIfAvailable<ScalarEvolution>(); 489 if (PP && DT) { 493 DataLayoutPass *DLP = PP->getAnalysisIfAvailable<DataLayoutPass>(); 495 ScalarEvolution *SE = PP->getAnalysisIfAvailable<ScalarEvolution>(); 496 simplifyLoop(OuterL, DT, LI, PP, /*AliasAnalysis*/ nullptr, SE, DL) [all...] |
/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 32 Preprocessor &PP; 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); 99 SourceManager &SrcMgr, Preprocessor &PP) { 100 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP) 102 SrcMgr, PP)); 123 ASTContext &ctx, Preprocessor &PP) 124 : CapturedDiags(capturedDiags), Ctx(ctx), PP(PP), IsInTransaction(false) { } 179 SourceManager &SM,Preprocessor &PP); [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 72 const Preprocessor &PP) { 74 llvm::sys::path::parent_path(prefix), PP); 75 createPlistDiagnosticConsumer(AnalyzerOpts, C, prefix, PP); 81 const clang::Preprocessor &PP) { 156 const Preprocessor &PP; 184 AnalysisConsumer(const Preprocessor& pp, 189 Ctx(nullptr), PP(pp), OutDir(outdir), Opts(opts), Plugins(plugins) { 206 new ClangDiagPathDiagConsumer(PP.getDiagnostics()); 217 CREATEFN(*Opts.get(), PathConsumers, OutDir, PP); \ [all...] |
/external/clang/lib/Sema/ |
IdentifierResolver.cpp | 85 IdentifierResolver::IdentifierResolver(Preprocessor &PP) 86 : LangOpt(PP.getLangOpts()), PP(PP), 368 PP.getExternalSource()->updateOutOfDateIdentifier(II); 373 PP.getExternalSource()->updateOutOfDateIdentifier(II);
|
/external/clang/include/clang/Sema/ |
IdentifierResolver.h | 183 explicit IdentifierResolver(Preprocessor &PP); 188 Preprocessor &PP;
|
/external/clang/tools/libclang/ |
Indexing.cpp | 59 Preprocessor &pp) { } 172 Preprocessor &PP; 182 Preprocessor &pp) 183 : SessionData(sessionData), PPRec(ppRec), PP(pp) { 237 return PP.getHeaderSearchInfo().isFileMultipleIncludeGuarded(FE); 248 Preprocessor &PP; 253 IndexPPCallbacks(Preprocessor &PP, IndexingContext &indexCtx) 254 : PP(PP), IndexCtx(indexCtx), IsMainFileEntered(false) { [all...] |
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
help2man | 337 $include{$sect} .= ".PP\n" if $include{$sect}; 448 $content = ".PP\n" if $include{$sect}; 480 $content .= ".PP\n" unless $append{$pat} =~ /^\./; 496 $include{$sect} .= ".PP\n" if $include{$sect}; 507 .PP
|