/external/clang/lib/Lex/ |
H A D | Pragma.cpp | 42 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, argument 79 void PragmaNamespace::HandlePragma(Preprocessor &PP, argument 84 PP.LexUnexpandedToken(Tok); 92 PP.Diag(Tok, diag::warn_pragma_ignored); 97 Handler->HandlePragma(PP, Introducer, Tok); 129 Preprocessor &PP; member in class:__anon17949::LexingFor_PragmaRAII 136 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, argument 138 : PP(PP), InMacroArgPreExpansion(InMacroArgPreExpansion), 142 PP 900 HandleCaptured(Preprocessor &PP) argument [all...] |
H A D | Lexer.cpp | 109 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP) argument 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); 1023 Preprocessor &PP, SourceLocatio 170 Create_PragmaLexer(SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd, unsigned TokLen, Preprocessor &PP) argument 1024 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument [all...] |
H A D | PPDirectives.cpp | 661 : PP(pp), save(pp->DisableMacroExpansion) { 666 PP->DisableMacroExpansion = save; 669 Preprocessor *PP; member in class:Preprocessor::ResetMacroExpansionHelper 851 // Read the rest of the PP line. 860 unsigned DiagID, Preprocessor &PP, 863 PP.Diag(DigitTok, DiagID); 866 PP.DiscardUntilEndOfDirective(); 874 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); 889 PP.Diag(PP 859 GetLineValue(Token &DigitTok, unsigned &Val, unsigned DiagID, Preprocessor &PP, bool IsGNULineDirective=false) argument 983 ReadLineMarkerFlags(bool &IsFileEntry, bool &IsFileExit, bool &IsSystemHeader, bool &IsExternCHeader, Preprocessor &PP) argument 1361 EnterAnnotationToken(Preprocessor &PP, SourceLocation Begin, SourceLocation End, tok::TokenKind Kind, void *AnnotationVal) argument [all...] |
/external/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 27 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 33 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 39 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 45 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 51 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 57 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 63 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 69 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 75 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 82 void HandlePragma(Preprocessor &PP, PragmaIntroducerKin 639 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &VisTok) argument 698 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &PackTok) argument 814 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &MSStructTok) argument 858 ParseAlignPragma(Preprocessor &PP, Token &FirstTok, bool IsOptions) argument 925 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &AlignTok) argument 931 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &OptionsTok) argument 938 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &UnusedTok) argument 1020 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &WeakTok) argument 1081 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &RedefToken) argument 1127 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1148 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1211 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstTok) argument 1226 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstTok) argument 1259 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1355 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1440 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1475 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1531 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument 1598 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstToken) argument 1671 HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, Token &Tok) argument [all...] |
H A D | ParseExprCXX.cpp | 44 SourceManager &SM = PP.getSourceManager(); 51 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken, argument 55 PP.Lex(DigraphToken); 56 PP.Lex(ColonToken); 73 PP.EnterToken(ColonToken); 75 PP.EnterToken(DigraphToken); 99 FixDigraph(*this, PP, Next, SecondToken, tok::unknown, 120 PP.EnterToken(Tok1); 130 PP.EnterToken(Tok2); 131 PP [all...] |
/external/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 916 void DeclSpec::Finish(DiagnosticsEngine &D, Preprocessor &PP, const PrintingPolicy &Policy) { argument 939 PP.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I], 1039 PP.getLocForEndOfToken(getTypeSpecComplexLoc()), 1044 if (!PP.getLangOpts().CPlusPlus) 1064 if (PP.getSourceManager().isBeforeInTranslationUnit( 1085 if (PP.getLangOpts().CPlusPlus && 1094 if (!PP.getLangOpts().CPlusPlus11 && TypeSpecType == TST_auto) 1096 if (PP.getLangOpts().CPlusPlus && !PP.getLangOpts().CPlusPlus11 &&
|
H A D | Sema.cpp | 51 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } 54 const Preprocessor &PP) { 59 BoolMacro = PP.getMacroInfo(&Context.Idents.get("bool"))) { 73 VAListTagName = PP.getIdentifierInfo("__va_list_tag"); 81 LangOpts(pp.getLangOpts()), PP(pp), Context(ctxt), Consumer(consumer), 82 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), 122 PP.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, 169 if (PP.getLangOpts().ObjC1) { 194 if (PP 53 getPrintingPolicy(const ASTContext &Context, const Preprocessor &PP) argument [all...] |
H A D | AnalysisBasedWarnings.cpp | 1126 Preprocessor &PP = S.getPreprocessor(); local 1128 tok::l_square, tok::l_square, PP.getIdentifierInfo("clang"), 1129 tok::coloncolon, PP.getIdentifierInfo("fallthrough"), 1133 StringRef MacroName = PP.getLastMacroWithSpelling(L, Tokens);
|
H A D | SemaCodeComplete.cpp | 1451 const Preprocessor &PP) { 1452 PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP); 1461 return getCompletionPrintingPolicy(S.Context, S.PP); 2517 return CreateCodeCompletionString(S.Context, S.PP, Allocator, CCTUInfo, 2529 Preprocessor &PP, 2535 PrintingPolicy Policy = getCompletionPrintingPolicy(Ctx, PP); 2575 const MacroDirective *MD = PP.getMacroDirectiveHistory(Macro); 2982 static void AddMacroResults(Preprocessor &PP, ResultBuilder &Results, argument 2989 for (Preprocessor::macro_iterator M = PP.macro_begin(), 2990 MEnd = PP 1450 getCompletionPrintingPolicy(const ASTContext &Context, const Preprocessor &PP) argument 2528 CreateCodeCompletionString(ASTContext &Ctx, Preprocessor &PP, CodeCompletionAllocator &Allocator, CodeCompletionTUInfo &CCTUInfo, bool IncludeBriefComments) argument [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerManager.cpp | 316 const ProgramPoint &PP; member in struct:__anon18265::CheckBindContext 324 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {} 328 const ProgramPoint &L = PP.withTag(checkFn.Checker); 341 const ProgramPoint &PP) { 342 CheckBindContext C(BindCheckers, location, val, S, Eng, PP); 337 runCheckersForBind(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, SVal location, SVal val, const Stmt *S, ExprEngine &Eng, const ProgramPoint &PP) argument
|
H A D | ExprEngineCallAndReturn.cpp | 80 const ProgramPoint &PP = Node->getLocation(); local 82 if (PP.getLocationContext()->getCurrentStackFrame() == SF) { 83 if (Optional<StmtPoint> SP = PP.getAs<StmtPoint>()) { 86 } else if (Optional<CallExitEnd> CEE = PP.getAs<CallExitEnd>()) { 101 } else if (Optional<BlockEdge> BE = PP.getAs<BlockEdge>()) { 104 } else if (Optional<CallEnter> CE = PP.getAs<CallEnter>()) {
|
H A D | ExprEngine.cpp | 507 PostInitializer PP(BMI, FieldLoc.getAsRegion(), stackFrame); 508 evalBind(Tmp, Init, Pred, FieldLoc, InitVal, /*isInit=*/true, &PP); 517 PostInitializer PP(BMI, FieldLoc.getAsRegion(), stackFrame); 522 Bldr.generateNode(PP, N->getState(), N); 569 PostImplicitCall PP(NE->getOperatorNew(), NE->getLocStart(), LCtx); 570 Bldr.generateNode(PP, Pred->getState(), Pred); 611 PostImplicitCall PP(Dtor, DE->getLocStart(), LCtx); 613 Bldr.generateNode(PP, Pred->getState(), Pred); 2003 bool atDeclInit, const ProgramPoint *PP) { 2007 if (!PP) 2000 evalBind(ExplodedNodeSet &Dst, const Stmt *StoreE, ExplodedNode *Pred, SVal location, SVal Val, bool atDeclInit, const ProgramPoint *PP) argument [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | 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; member in class:__anon18287::AnalysisConsumer 189 Ctx(nullptr), PP(pp), OutDir(outdir), Opts(opts), Plugins(plugins) { 206 new ClangDiagPathDiagConsumer(PP.getDiagnostics()); 217 CREATEFN(*Opts.get(), PathConsumers, OutDir, PP); \ 287 checkerMgr.reset(createCheckerManager(*Opts, PP.getLangOpts(), Plugins, 288 PP 69 createPlistHTMLDiagnosticConsumer(AnalyzerOptions &AnalyzerOpts, PathDiagnosticConsumers &C, const std::string &prefix, const Preprocessor &PP) argument 78 createTextPathDiagnosticConsumer(AnalyzerOptions &AnalyzerOpts, PathDiagnosticConsumers &C, const std::string &Prefix, const clang::Preprocessor &PP) argument [all...] |
/external/clang/tools/libclang/ |
H A D | Indexing.cpp | 172 Preprocessor &PP; 183 : SessionData(sessionData), PPRec(ppRec), PP(pp) { 237 return PP.getHeaderSearchInfo().isFileMultipleIncludeGuarded(FE); 248 Preprocessor &PP; member in class:__anon19527::IndexPPCallbacks 253 IndexPPCallbacks(Preprocessor &PP, IndexingContext &indexCtx) argument 254 : PP(PP), IndexCtx(indexCtx), IsMainFileEntered(false) { } 261 SourceManager &SM = PP.getSourceManager(); 427 Preprocessor &PP = CI.getPreprocessor(); variable 428 PP 695 Preprocessor &PP = Unit.getPreprocessor(); local [all...] |
H A D | IndexingContext.cpp | 201 void IndexingContext::setPreprocessor(Preprocessor &PP) { argument 202 cxtu::getASTUnit(CXTU)->setPreprocessor(&PP);
|
/external/llvm/lib/IR/ |
H A D | LegacyPassManager.cpp | 684 Pass *PP = P->createPrinterPass( local 686 PP->assignPassManager(activeStack, getTopLevelPassManagerType()); 693 Pass *PP = P->createPrinterPass( local 695 PP->assignPassManager(activeStack, getTopLevelPassManagerType());
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
H A D | glsl_lexer.cc | 1149 #define PP 1 macro 1489 { BEGIN PP; return VERSION_TOK; } variable 1494 { BEGIN PP; return EXTENSION; } variable 1543 BEGIN PP; variable 1551 BEGIN PP; variable 1559 BEGIN PP; variable 1567 BEGIN PP; variable 1575 BEGIN PP; variable 2663 case YY_STATE_EOF(PP):
|
/external/clang/lib/Frontend/ |
H A D | 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, PPOpt 379 Preprocessor &PP = getPreprocessor(); local 402 createPCHExternalASTSource( StringRef Path, const std::string &Sysroot, bool DisablePCHValidation, bool AllowPCHWithCompilerErrors, Preprocessor &PP, ASTContext &Context, void *DeserializationListener, bool OwnDeserializationListener, bool Preamble, bool UseGlobalModuleIndex) argument 450 EnableCodeCompletion(Preprocessor &PP, const std::string &Filename, unsigned Line, unsigned Column) argument 496 createCodeCompletionConsumer(Preprocessor &PP, const std::string &Filename, unsigned Line, unsigned Column, const CodeCompleteOptions &Opts, raw_ostream &OS) argument 1040 checkConfigMacro(Preprocessor &PP, StringRef ConfigMacro, Module *Mod, SourceLocation ImportLoc) argument [all...] |
H A D | ASTUnit.cpp | 264 void ASTUnit::setPreprocessor(Preprocessor *pp) { PP = pp; } 499 Preprocessor &PP; member in class:__anon17906::ASTInfoCollector 508 ASTInfoCollector(Preprocessor &PP, ASTContext &Context, LangOptions &LangOpt, argument 511 : PP(PP), Context(Context), LangOpt(LangOpt), TargetOpts(TargetOpts), 534 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); 557 PP.Initialize(*Target); 580 const Preprocessor *PP = nullptr) override { 581 if (PP) 582 SourceMgr = &PP 716 Preprocessor &PP = *AST->PP; local 937 PrecompilePreambleConsumer(ASTUnit &Unit, PrecompilePreambleAction *Action, const Preprocessor &PP, StringRef isysroot, raw_ostream *Out) argument [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 236 Preprocessor &PP; member in class:clang::PCHValidator 240 PCHValidator(Preprocessor &PP, ASTReader &Reader) argument 241 : PP(PP), Reader(Reader) {} 353 Preprocessor &PP; member in class:clang::ASTReader 1273 /// \param PP the preprocessor associated with the context in which this 1300 ASTReader(Preprocessor &PP, ASTContext &Context, StringRef isysroot = "", 1429 Preprocessor &getPreprocessor() const { return PP; }
|
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 96 Preprocessor &PP; member in class:__anon17684::ObjCMigrateASTConsumer 107 Preprocessor &PP, 113 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), 158 return canModifyFile(PP.getSourceManager().getFileEntryForID(FID)); 171 FileID FID = PP.getSourceManager().getFileID(D->getLocation()); 657 static bool UseNSOptionsMacro(Preprocessor &PP, ASTContext &Ctx, argument 685 if (!PP.getRawToken(EndLoc, Tok, /*IgnoreWhiteSpace=*/true)) 785 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); 787 PP 102 ObjCMigrateASTConsumer(StringRef migrateDir, unsigned astMigrateActions, FileRemapper &remapper, FileManager &fileMgr, const PPConditionalDirectiveRecord *PPRec, Preprocessor &PP, bool isOutputFile, ArrayRef<std::string> WhiteList) argument [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 1434 DenseMap<Value *, std::vector<Value *> >::iterator PP = local 1436 if (PP == CandidatePairs.end()) 1439 for (std::vector<Value *>::iterator P = PP->second.begin(), 1440 E = PP->second.end(); P != E; ++P)
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 62 Preprocessor &PP; member in class:clang::Parser 236 Parser(Preprocessor &PP, Sema &Actions, bool SkipFunctionBodies); 239 const LangOptions &getLangOpts() const { return PP.getLangOpts(); } 240 const TargetInfo &getTargetInfo() const { return PP.getTargetInfo(); } 241 Preprocessor &getPreprocessor() const { return PP; } 300 PP.Lex(Tok); 310 PP.Lex(Tok); 379 PP.Lex(Tok); 393 PP.Lex(Tok); 407 PP [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 282 const LangOptions &ExistingLangOpts = PP.getLangOpts(); 289 const TargetOptions &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts(); 378 DiagnosticsEngine &ExistingDiags = PP.getDiagnostics(); 405 Module *M = PP.getHeaderSearchInfo().lookupModule(ModuleName); 570 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); 574 PP.getFileManager(), 576 PP.getLangOpts()); 580 PP.setCounterValue(Value); 997 << PP.getHeaderSearchInfo().getModuleCachePath(); 1396 MacroInfo *MI = PP 1735 import(Preprocessor &PP, SourceLocation ImportLoc) const argument [all...] |
H A D | ASTWriter.cpp | 1030 void ASTWriter::WriteControlBlock(Preprocessor &PP, ASTContext &Context, argument 1177 = PP.getHeaderSearchInfo().getHeaderSearchOpts(); 1209 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); 1280 PP.getHeaderSearchInfo().getHeaderSearchOpts(), 1282 PP.getLangOpts().Modules); 1658 const Preprocessor &PP, 1733 = Content->getBuffer(PP.getDiagnostics(), PP.getSourceManager()); 1746 = Content->getBuffer(PP.getDiagnostics(), PP 1657 WriteSourceManagerBlock(SourceManager &SourceMgr, const Preprocessor &PP, StringRef isysroot) argument 1896 shouldIgnoreMacro(MacroDirective *MD, bool IsModule, const Preprocessor &PP) argument 1916 WritePreprocessor(const Preprocessor &PP, bool IsModule) argument 2964 Preprocessor &PP; member in class:__anon18133::ASTIdentifierTableTrait 3105 ASTIdentifierTableTrait(ASTWriter &Writer, Preprocessor &PP, IdentifierResolver &IdResolver, bool IsModule) argument 3267 WriteIdentifierTable(Preprocessor &PP, IdentifierResolver &IdResolver, bool IsModule) argument 4012 Preprocessor &PP = SemaRef.PP; local [all...] |