/external/clang/lib/Parse/ |
D | ParseAST.cpp | 69 const Preprocessor &PP = P.getPreprocessor(); in print() 77 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 127 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST() 138 S.getPreprocessor().EnterMainSourceFile(); in ParseAST()
|
D | ParseOpenMP.cpp | 118 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind() 126 Tok = P.getPreprocessor().LookAhead(0); in ParseOpenMPDirectiveKind() 130 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 94 CI.getPreprocessor(), OutputFile, nullptr, Sysroot, in CreateASTConsumer() 142 CI.getPreprocessor(), OutputFile, Module, Sysroot, in CreateASTConsumer() 292 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() 359 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap(), Module, in BeginSourceFileAction() 370 CI.getPreprocessor().setMainFileDir(Module->Directory); in BeginSourceFileAction() 387 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in ComputeASTConsumerArguments() 432 CI.getPreprocessor(), CI.getASTContext(), CI.getPCHContainerReader(), in ExecuteAction() 619 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 637 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 654 CacheTokens(CI.getPreprocessor(), OS); in ExecuteAction() [all …]
|
D | FrontendAction.cpp | 226 CI.setPreprocessor(&AST->getPreprocessor()); in BeginSourceFile() 317 &CI.getPreprocessor()); in BeginSourceFile() 388 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 409 CI.getPreprocessor().getHeaderSearchInfo().loadModuleMapFile( in BeginSourceFile() 464 CI.getPreprocessor().getHeaderSearchInfo().getModuleCachePath(); in Execute() 481 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 502 CI.getPreprocessor().PrintStats(); in EndSourceFile() 503 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() 504 CI.getPreprocessor().getHeaderSearchInfo().PrintStats(); in EndSourceFile()
|
D | CompilerInstance.cpp | 399 Preprocessor &PP = getPreprocessor(); in createASTContext() 415 AllowPCHWithCompilerErrors, getPreprocessor(), getASTContext(), in createPCHExternalASTSource() 497 createCodeCompletionConsumer(getPreprocessor(), in createCodeCompletionConsumer() 503 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 511 getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary); in createCodeCompletionConsumer() 538 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema() 723 hasPreprocessor() ? &getPreprocessor().getHeaderSearchInfo() : nullptr, in InitializeSourceManager() 928 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModuleImpl() 1293 !getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty() && in createModuleManager() 1307 getPreprocessor(), getASTContext(), getPCHContainerReader(), in createModuleManager() [all …]
|
D | ChainedIncludesSource.cpp | 81 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 160 &Clang->getPreprocessor()); in createChainedIncludesSource() 166 Clang->getPreprocessor(), "-", nullptr, /*isysroot=*/"", Buffer, in createChainedIncludesSource() 174 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
D | ASTUnit.cpp | 883 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 993 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 997 Unit, this, CI.getPreprocessor(), Sysroot, OS); in CreateASTConsumer() 1673 PP = &CI.getPreprocessor(); in transferASTDataFromCompilerInstance() 1844 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 | 705 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer() 711 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 37 return CreateHTMLPrinter(OS, CI.getPreprocessor()); in CreateASTConsumer() 179 RewriteMacrosInInput(CI.getPreprocessor(), OS); in ExecuteAction() 187 DoRewriteTest(CI.getPreprocessor(), OS); in ExecuteAction() 195 RewriteIncludesInInput(CI.getPreprocessor(), OS, in ExecuteAction()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 286 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 295 Unit->getPreprocessor()); in checkForManualIssues() 310 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 316 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues() 457 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 565 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 577 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 580 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
|
D | ObjCMT.cpp | 197 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 202 CompInst->getPreprocessor(), false, None)); in CreateASTConsumer() 2025 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2030 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | glslang.l | 407 yyget_extra(yyscanner)->getPreprocessor().lex(&token); 572 if (!context->getPreprocessor().init(count, string, length)) in glslang_scan() 580 context->getPreprocessor().predefineMacro(iter->first.c_str(), 1); in glslang_scan() 583 context->getPreprocessor().predefineMacro("GL_FRAGMENT_PRECISION_HIGH", 1); in glslang_scan()
|
D | ParseHelper.h | 71 const pp::Preprocessor &getPreprocessor() const { return mPreprocessor; } in getPreprocessor() function 72 pp::Preprocessor &getPreprocessor() { return mPreprocessor; } in getPreprocessor() function
|
D | glslang_lex.cpp | 3639 yyget_extra(yyscanner)->getPreprocessor().lex(&token); in string_input() 3804 if (!context->getPreprocessor().init(count, string, length)) in glslang_scan() 3812 context->getPreprocessor().predefineMacro(iter->first.c_str(), 1); in glslang_scan() 3815 context->getPreprocessor().predefineMacro("GL_FRAGMENT_PRECISION_HIGH", 1); in glslang_scan()
|
/external/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 41 ci.getPreprocessor().enableIncrementalProcessing(); in BeginSourceFileAction() 163 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 122 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo() 164 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
|
/external/clang/unittests/Tooling/ |
D | CommentHandlerTest.cpp | 77 V->PP = &CI.getPreprocessor(); in BeginSourceFileAction()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 505 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 506 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|
D | CompilerInstance.h | 433 Preprocessor &getPreprocessor() const { in getPreprocessor() function
|
/external/v8/tools/clang/translation_unit/ |
D | TranslationUnitGenerator.cpp | 236 clang::Preprocessor& preprocessor = getCompilerInstance().getPreprocessor(); in Preprocess()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 145 MMap(CI.getPreprocessor().getHeaderSearchInfo().getModuleMap()), in PCHContainerGenerator()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 393 if (!AU->getPreprocessor().getPreprocessingRecord()) in visitPreprocessedEntitiesInRegion() 397 = *AU->getPreprocessor().getPreprocessingRecord(); in visitPreprocessedEntitiesInRegion() 538 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) in VisitChildren() 3417 Preprocessor &PP = ASTU->getPreprocessor(); in clang_Cursor_isMacroFunctionLike() 3429 Preprocessor &PP = ASTU->getPreprocessor(); in clang_Cursor_isMacroBuiltin() 3928 return CXXUnit->getPreprocessor().getHeaderSearchInfo() in clang_isFileMultipleIncludeGuarded() 6083 = CXXUnit->getPreprocessor().LookUpIdentifierInfo(Tok); in getTokens() 6612 Preprocessor &PP = CXXUnit->getPreprocessor(); in annotatePreprocessorTokens() 6738 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) { in clang_annotateTokensImpl() 7356 HeaderSearch &HS = Unit.getPreprocessor().getHeaderSearchInfo(); in clang_getModuleForFile() [all …]
|
D | Indexing.cpp | 372 Preprocessor &PP = CI.getPreprocessor(); in CreateASTConsumer() 612 Preprocessor &PP = Unit.getPreprocessor(); in indexPreprocessingRecord()
|
D | CXCursor.cpp | 1352 unit->getPreprocessor(), in clang_getCursorCompletionString() 1366 unit->getPreprocessor(), in clang_getCursorCompletionString()
|