/external/clang/lib/Parse/ |
D | ParseAST.cpp | 55 const Preprocessor &PP = P.getPreprocessor(); in print() 63 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 113 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST() 122 S.getPreprocessor().EnterMainSourceFile(); in ParseAST()
|
D | ParseOpenMP.cpp | 42 : getOpenMPDirectiveKind(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind() 45 Tok = P.getPreprocessor().LookAhead(0); in ParseOpenMPDirectiveKind() 49 : getOpenMPDirectiveKind(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 89 return llvm::make_unique<PCHGenerator>(CI.getPreprocessor(), OutputFile, in CreateASTConsumer() 126 return llvm::make_unique<PCHGenerator>(CI.getPreprocessor(), OutputFile, in CreateASTConsumer() 268 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() 337 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap(), Module, in BeginSourceFileAction() 348 CI.getPreprocessor().setMainFileDir(Module->Directory); in BeginSourceFileAction() 365 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in ComputeASTConsumerArguments() 407 new ASTReader(CI.getPreprocessor(), CI.getASTContext(), in ExecuteAction() 571 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 589 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 606 CacheTokens(CI.getPreprocessor(), OS); in ExecuteAction() [all …]
|
D | FrontendAction.cpp | 207 CI.setPreprocessor(&AST->getPreprocessor()); in BeginSourceFile() 299 &CI.getPreprocessor()); in BeginSourceFile() 370 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 391 CI.getPreprocessor().getHeaderSearchInfo().loadModuleMapFile( in BeginSourceFile() 447 CI.getPreprocessor().getHeaderSearchInfo().getModuleCachePath()); in Execute() 461 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 486 CI.getPreprocessor().PrintStats(); in EndSourceFile() 487 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() 488 CI.getPreprocessor().getHeaderSearchInfo().PrintStats(); in EndSourceFile()
|
D | ChainedIncludesSource.cpp | 81 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 157 &Clang->getPreprocessor()); in createChainedIncludesSource() 163 llvm::make_unique<PCHGenerator>(Clang->getPreprocessor(), "-", nullptr, in createChainedIncludesSource() 171 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
D | CompilerInstance.cpp | 384 Preprocessor &PP = getPreprocessor(); in createASTContext() 399 AllowPCHWithCompilerErrors, getPreprocessor(), getASTContext(), in createPCHExternalASTSource() 476 createCodeCompletionConsumer(getPreprocessor(), in createCodeCompletionConsumer() 482 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 490 getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary); in createCodeCompletionConsumer() 515 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema() 866 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModuleImpl() 1262 ModuleManager = new ASTReader(getPreprocessor(), *Context, in createModuleManager() 1638 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule() 1688 getPreprocessor().getHeaderSearchInfo().getModuleCachePath()); in loadGlobalModuleIndex() [all …]
|
D | ASTUnit.cpp | 879 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 977 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 981 Unit, this, CI.getPreprocessor(), Sysroot, OS); in CreateASTConsumer() 1646 PP = &CI.getPreprocessor(); in transferASTDataFromCompilerInstance() 1814 Clang->getPreprocessor().addPPCallbacks( in LoadFromCompilerInvocationAction()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 93 Instance.setPreprocessor(&CI.getPreprocessor()); in onBodySynthesis() 96 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 106 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
D | AnalysisConsumer.cpp | 698 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer() 704 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 36 return CreateHTMLPrinter(OS, CI.getPreprocessor()); in CreateASTConsumer() 178 RewriteMacrosInInput(CI.getPreprocessor(), OS); in ExecuteAction() 186 DoRewriteTest(CI.getPreprocessor(), OS); in ExecuteAction() 194 RewriteIncludesInInput(CI.getPreprocessor(), OS, in ExecuteAction()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 280 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 289 Unit->getPreprocessor()); in checkForManualIssues() 304 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 310 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues() 451 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 556 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 568 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 571 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
|
D | ObjCMT.cpp | 196 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 201 CompInst->getPreprocessor(), false, None)); in CreateASTConsumer() 2044 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2049 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
/external/lldb/source/Expression/ |
D | ClangExpressionParser.cpp | 355 … m_compiler->getPreprocessor().getIdentifierTable(), in ClangExpressionParser() 395 diag_buf->BeginSourceFile(m_compiler->getLangOpts(), &m_compiler->getPreprocessor()); in Parse() 400 ParseAST(m_compiler->getPreprocessor(), ast_transformer, m_compiler->getASTContext()); in Parse() 402 … ParseAST(m_compiler->getPreprocessor(), m_code_generator.get(), m_compiler->getASTContext()); in Parse()
|
/external/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 41 ci.getPreprocessor().enableIncrementalProcessing(); in BeginSourceFileAction() 163 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
|
/external/clang/unittests/Tooling/ |
D | CommentHandlerTest.cpp | 77 V->PP = &CI.getPreprocessor(); in BeginSourceFileAction()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 501 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 502 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|
D | CompilerInstance.h | 416 Preprocessor &getPreprocessor() const { in getPreprocessor() function
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 118 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 427 Preprocessor &PP = CI.getPreprocessor(); in CreateASTConsumer() 694 Preprocessor &PP = Unit.getPreprocessor(); in indexPreprocessingRecord()
|
D | CIndex.cpp | 395 if (!AU->getPreprocessor().getPreprocessingRecord()) in visitPreprocessedEntitiesInRegion() 399 = *AU->getPreprocessor().getPreprocessingRecord(); in visitPreprocessedEntitiesInRegion() 538 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) in VisitChildren() 3371 return CXXUnit->getPreprocessor().getHeaderSearchInfo() in clang_isFileMultipleIncludeGuarded() 5455 = CXXUnit->getPreprocessor().LookUpIdentifierInfo(Tok); in getTokens() 5997 Preprocessor &PP = CXXUnit->getPreprocessor(); in annotatePreprocessorTokens() 6126 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) { in clang_annotateTokensImpl() 6721 HeaderSearch &HS = Unit.getPreprocessor().getHeaderSearchInfo(); in clang_getModuleForFile() 6993 Preprocessor &pp = astUnit->getPreprocessor(); in clang_getCXTUResourceUsage() 7034 PreprocessingRecord *ppRec = astUnit->getPreprocessor().getPreprocessingRecord(); in clang_getSkippedRanges() [all …]
|
D | CXCursor.cpp | 1288 unit->getPreprocessor(), in clang_getCursorCompletionString() 1302 unit->getPreprocessor(), in clang_getCursorCompletionString()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 658 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 117 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable() 1121 Preprocessor &PP = S.getPreprocessor(); in DiagnoseSwitchLabelsFallthrough()
|
D | Sema.cpp | 1040 if (getPreprocessor().getSpelling(loc, buffer) == name) { in findMacroSpelling()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 1480 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function
|