/external/clang/lib/Lex/ |
PPDirectives.cpp | 660 ResetMacroExpansionHelper(Preprocessor *pp) 661 : PP(pp), save(pp->DisableMacroExpansion) { 662 if (pp->MacroExpansionInDirectivesOverride) 663 pp->DisableMacroExpansion = false; 666 PP->DisableMacroExpansion = save; 669 Preprocessor *PP; 694 // pp-directive. 851 // Read the rest of the PP line [all...] |
/external/llvm/lib/Transforms/Utils/ |
FlattenCFG.cpp | 147 BasicBlock *PP = Pred->getSinglePredecessor(); 155 if (UnCondBlock || !PP || (Preds.count(PP) == 0) || 171 if (PP && Preds.count(PP)) {
|
LoopSimplify.cpp | 112 BasicBlock *llvm::InsertPreheaderForLoop(Loop *L, Pass *PP) { 135 PP); 139 ".split-lp", PP, NewBBs); 159 static BasicBlock *rewriteLoopExitBlock(Loop *L, BasicBlock *Exit, Pass *PP) { 179 PP, NewBBs); 182 NewExitBB = SplitBlockPredecessors(Exit, LoopBlocks, ".loopexit", PP); 255 LoopInfo *LI, ScalarEvolution *SE, Pass *PP) { 290 SplitBlockPredecessors(Header, OuterLoopPreds, ".outer", PP); 477 ScalarEvolution *SE, Pass *PP, 545 Preheader = InsertPreheaderForLoop(L, PP); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 43 const Preprocessor &PP; 46 HTMLDiagnostics(AnalyzerOptions &AnalyzerOpts, const std::string& prefix, const Preprocessor &pp); 76 const Preprocessor &pp) 77 : Directory(prefix), createdDir(false), noDir(false), PP(pp), AnalyzerOpts(AnalyzerOpts) { 83 const Preprocessor &PP) { 84 C.push_back(new HTMLDiagnostics(AnalyzerOpts, prefix, PP)); 131 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); 171 html::SyntaxHighlight(R, FID, PP); 172 html::HighlightMacros(R, FID, PP); [all...] |
PlistDiagnostics.cpp | 70 const Preprocessor &PP) { 72 PP.getLangOpts(), false)); 78 const Preprocessor &PP) { 80 PP.getLangOpts(), true));
|
/external/clang/lib/Rewrite/Core/ |
TokenRewriter.cpp | 39 // IdentifierTable directly instead of PP. 40 PP.LookUpIdentifierInfo(Tok);
|
/external/clang/lib/Sema/ |
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"); 76 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, 80 isMultiplexExternalSource(false), FPFeatures(pp.getLangOpts()), 81 LangOpts(pp.getLangOpts()), PP(pp), Context(ctxt), Consumer(consumer), 82 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()) [all...] |
DeclSpec.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs_context.cpp | 45 RSContext::RSContext(clang::Preprocessor &PP, 51 : mPP(PP), 64 AddPragmaHandlers(PP, this);
|
slang_rs.cpp | 212 clang::Preprocessor &PP = getPreprocessor(); 215 RSH << PP.getPredefines(); 218 PP.setPredefines(RSH.str());
|
/external/clang/lib/Parse/ |
ParseExprCXX.cpp | 44 SourceManager &SM = PP.getSourceManager(); 51 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken, 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.EnterToken(Tok1) [all...] |
ParseStmtAsm.cpp | 188 PP.EnterTokenStream(LineToks.begin(), LineToks.size(), 250 static bool buildMSAsmString(Preprocessor &PP, SourceLocation AsmLoc, 280 PP.Diag(AsmLoc, diag::err_asm_empty); 290 Asm += PP.getSpelling(Tok, SpellingBuffer, &SpellingInvalid); 321 SourceManager &SrcMgr = PP.getSourceManager(); 415 PP.Lex(Tok); 477 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString))
|
ParseInit.cpp | 36 if (!PP.getLangOpts().CPlusPlus11) 42 switch (PP.LookAhead(0).getKind()) { 65 return PP.LookAhead(0).is(tok::colon);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CoreEngine.h | 243 ExplodedNode *generateNodeImpl(const ProgramPoint &PP, 265 ExplodedNode *generateNode(const ProgramPoint &PP, 268 return generateNodeImpl(PP, State, Pred, false); 276 ExplodedNode *generateSink(const ProgramPoint &PP, 279 return generateNodeImpl(PP, State, Pred, true);
|
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 107 Preprocessor *PP; 452 void WriteControlBlock(Preprocessor &PP, ASTContext &Context, 459 const Preprocessor &PP, 461 void WritePreprocessor(const Preprocessor &PP, bool IsModule); 479 void WriteIdentifierTable(Preprocessor &PP, IdentifierResolver &IdResolver, 783 const Preprocessor &PP; 800 PCHGenerator(const Preprocessor &PP, StringRef OutputFile,
|
/external/clang/include/clang/Parse/ |
Parser.h | 62 Preprocessor &PP; 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.Lex(Tok) [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | 264 void ASTUnit::setPreprocessor(Preprocessor *pp) { PP = pp; } 499 Preprocessor &PP; 508 ASTInfoCollector(Preprocessor &PP, ASTContext &Context, LangOptions &LangOpt, 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 [all...] |
FrontendAction.cpp | 358 Preprocessor &PP = CI.getPreprocessor(); 366 PP.getBuiltinInfo().InitializeBuiltins(PP.getIdentifierTable(), 367 PP.getLangOpts());
|
TextDiagnosticPrinter.cpp | 40 const Preprocessor *PP) {
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 107 const Preprocessor *PP) override { 112 DiagClient.BeginSourceFile(Opts, PP); 216 Preprocessor &PP) { 222 Diags->setSourceManager(&PP.getSourceManager()); 224 printer.BeginSourceFile(PP.getLangOpts(), &PP);
|
ObjCMT.cpp | 96 Preprocessor &PP; 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, 685 if (!PP.getRawToken(EndLoc, Tok, /*IgnoreWhiteSpace=*/true)) 785 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); 787 PP.getSourceManager().getFileID(EnumDcl->getLocation()) [all...] |
/external/clang/include/clang/AST/ |
RawCommentList.h | 123 const Preprocessor *PP, const Decl *D) const;
|
CommentSema.h | 47 const Preprocessor *PP; 75 const Preprocessor *PP);
|
/external/clang/unittests/Lex/ |
LexerTest.cpp | 71 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 74 PP.Initialize(*Target); 75 PP.EnterMainSourceFile(); 80 PP.Lex(tok);
|
/external/clang/lib/Serialization/ |
ASTWriter.cpp | [all...] |