Home
last modified time | relevance | path

Searched refs:getPreprocessor (Results 1 – 25 of 36) sorted by relevance

12

/external/clang/lib/Parse/
DParseAST.cpp69 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()
DParseOpenMP.cpp118 : 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/
DFrontendActions.cpp94 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 …]
DFrontendAction.cpp226 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()
DCompilerInstance.cpp399 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 …]
DChainedIncludesSource.cpp81 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()
DASTUnit.cpp883 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/
DModelInjector.cpp93 Instance.setPreprocessor(&CI.getPreprocessor()); in onBodySynthesis()
96 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
106 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
DAnalysisConsumer.cpp705 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
711 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp37 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/
DARCMT.cpp286 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()
DObjCMT.cpp197 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/
Dglslang.l407 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()
DParseHelper.h71 const pp::Preprocessor &getPreprocessor() const { return mPreprocessor; } in getPreprocessor() function
72 pp::Preprocessor &getPreprocessor() { return mPreprocessor; } in getPreprocessor() function
Dglslang_lex.cpp3639 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/
DFrontendActionTest.cpp41 ci.getPreprocessor().enableIncrementalProcessing(); in BeginSourceFileAction()
163 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp122 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
164 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp77 V->PP = &CI.getPreprocessor(); in BeginSourceFileAction()
/external/clang/include/clang/Frontend/
DASTUnit.h505 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function
506 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
DCompilerInstance.h433 Preprocessor &getPreprocessor() const { in getPreprocessor() function
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp236 clang::Preprocessor& preprocessor = getCompilerInstance().getPreprocessor(); in Preprocess()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp145 MMap(CI.getPreprocessor().getHeaderSearchInfo().getModuleMap()), in PCHContainerGenerator()
/external/clang/tools/libclang/
DCIndex.cpp393 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 …]
DIndexing.cpp372 Preprocessor &PP = CI.getPreprocessor(); in CreateASTConsumer()
612 Preprocessor &PP = Unit.getPreprocessor(); in indexPreprocessingRecord()
DCXCursor.cpp1352 unit->getPreprocessor(), in clang_getCursorCompletionString()
1366 unit->getPreprocessor(), in clang_getCursorCompletionString()

12