/external/clang/include/clang/StaticAnalyzer/Core/ |
H A D | PathDiagnosticConsumers.h | 34 const Preprocessor &PP);
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | UnrollLoop.h | 27 unsigned TripMultiple, LoopInfo *LI, Pass *PP,
|
H A D | LoopUtils.h | 35 bool simplifyLoop(Loop *L, DominatorTree *DT, LoopInfo *LI, Pass *PP,
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | InclusionRewriter.cpp | 40 Preprocessor &PP; ///< Used to find inclusion directives. member in class:__anon17971::InclusionRewriter 52 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers); 88 /// Initializes an InclusionRewriter with a \p PP source and \p OS destination. 89 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS, argument 91 : PP(PP), SM(PP.getSourceManager()), OS(OS), PredefinesBuffer(nullptr), 95 UseLineDirective = PP.getLangOpts().MicrosoftExt; 269 PP.LookUpIdentifierInfo(RawToken); 301 PP 522 RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts) argument [all...] |
/external/clang/include/clang/Frontend/ |
H A D | ChainedDiagnosticConsumer.h | 36 const Preprocessor *PP) override { 37 Primary->BeginSourceFile(LO, PP); 38 Secondary->BeginSourceFile(LO, PP);
|
H A D | Utils.h | 64 void InitializePreprocessor(Preprocessor &PP, 69 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS, 79 void attachToPreprocessor(Preprocessor &PP); 114 Preprocessor &PP, const DependencyOutputOptions &Opts); 144 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 158 void AttachHeaderIncludeGen(Preprocessor &PP, bool ShowAllHeaders = false, 164 void CacheTokens(Preprocessor &PP, llvm::raw_fd_ostream* OS);
|
H A D | TextDiagnosticPrinter.h | 50 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override;
|
H A D | CompilerInstance.h | 88 IntrusiveRefCntPtr<Preprocessor> PP; member in class:clang::CompilerInstance 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,
|
/external/clang/include/clang/Lex/ |
H A D | Pragma.h | 67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 81 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 117 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
|
H A D | PTHManager.h | 65 /// PP - The Preprocessor object that will use this PTHManager to create 67 Preprocessor* PP; member in class:clang::PTHManager 123 void setPreprocessor(Preprocessor *pp) { PP = pp; }
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 74 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ argument 76 IdentifierInfo *Id = PP.getIdentifierInfo(Name); 79 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); 81 PP.appendDefMacroDirective(Id, MI); 139 Preprocessor &PP) { 148 PP.getExternalSource()->updateOutOfDateIdentifier(*II); 152 if (II->hasMacroDefinition() && PP.getMacroInfo(II)->isEnabled() && 416 static bool GenerateNewArgTokens(Preprocessor &PP, argument 467 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); 485 SourceLocation Loc = PP 137 isTrivialSingleTokenExpansion(const MacroInfo *MI, const IdentifierInfo *MacroIdent, 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...] |
/external/clang/lib/Frontend/ |
H A D | DependencyGraph.cpp | 30 const Preprocessor *PP; member in class:__anon17920::DependencyGraphCallback 47 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } 62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, argument 64 PP.addPPCallbacks(new DependencyGraphCallback(&PP, OutputFile, SysRoot)); 79 SourceManager &SM = PP->getSourceManager(); 102 PP->getDiagnostics().Report(diag::err_fe_error_opening)
|
H A D | DependencyFile.cpp | 123 void DependencyCollector::attachToPreprocessor(Preprocessor &PP) { argument 124 PP.addPPCallbacks(new DepCollectorPPCallbacks(*this, PP.getSourceManager())); 135 const Preprocessor *PP; member in class:__anon17919::DFGImpl 150 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), 194 clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) { 197 PP.getDiagnostics().Report(diag::err_fe_dependency_file_requires_MT); 203 PP.SetSuppressIncludeNotFoundError(true); 205 DFGImpl *Callback = new DFGImpl(&PP, Opts); 206 PP 193 CreateAndAttachToPreprocessor( clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) argument [all...] |
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 | CacheTokens.cpp | 187 Preprocessor& PP; member in class:__anon17913::PTHWriter 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(); 504 const llvm::MemoryBuffer *B = C.getBuffer(PP.getDiagnostics(), SM); 563 void clang::CacheTokens(Preprocessor &PP, llv argument [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ReachableCode.h | 64 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
|
/external/clang/include/clang/Rewrite/Frontend/ |
H A D | ASTConsumers.h | 43 ASTConsumer *CreateHTMLPrinter(raw_ostream *OS, Preprocessor &PP,
|
/external/clang/lib/Parse/ |
H A D | ParseAST.cpp | 56 const Preprocessor &PP = P.getPreprocessor(); local 57 Tok.getLocation().print(OS, PP.getSourceManager()); 61 // Do the equivalent of PP.getSpelling(Tok) except for the parts that would 85 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, argument 92 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer));
|
H A D | Parser.cpp | 36 bool HandleComment(Preprocessor &PP, SourceRange Comment) override { 46 Ident__except = PP.getIdentifierInfo("__except"); 52 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), 69 PP.addCommentHandler(CommentSemaHandler.get()); 71 PP.setCodeCompletionHandler(*this); 90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); 138 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); 169 << PP.getSpelling(Tok) 413 PP [all...] |
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 84 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 88 PP.Initialize(*Target); 89 PP.EnterMainSourceFile(); 94 PP.Lex(tok); 116 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); 117 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str)); 201 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 205 PP.Initialize(*Target); 206 PP.EnterMainSourceFile(); 211 PP [all...] |
/external/clang/include/clang/Rewrite/Core/ |
H A D | HTMLRewrite.h | 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP); 76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
/external/clang/unittests/Lex/ |
H A D | 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/Rewrite/Core/ |
H A D | HTMLRewrite.cpp | 357 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) { argument 360 const SourceManager &SM = PP.getSourceManager(); 362 Lexer L(FID, FromFile, SM, PP.getLangOpts()); 386 PP.LookUpIdentifierInfo(Tok); 446 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) { argument 448 const SourceManager &SM = PP.getSourceManager(); 452 Lexer L(FID, FromFile, SM, PP.getLangOpts()); 475 PP.LookUpIdentifierInfo(Tok); 484 DiagnosticsEngine TmpDiags(PP.getDiagnostics().getDiagnosticIDs(), 485 &PP [all...] |
/external/pcre/dist/ |
H A D | CheckMan | 40 ^\.PP\s*$|
|