Home
last modified time | relevance | path

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

12

/external/clang/lib/Parse/
DParseAST.cpp55 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()
DParseOpenMP.cpp42 : 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/
DFrontendActions.cpp89 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 …]
DFrontendAction.cpp207 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()
DChainedIncludesSource.cpp81 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()
DCompilerInstance.cpp384 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 …]
DASTUnit.cpp879 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/
DModelInjector.cpp93 Instance.setPreprocessor(&CI.getPreprocessor()); in onBodySynthesis()
96 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
106 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
DAnalysisConsumer.cpp698 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
704 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp36 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/
DARCMT.cpp280 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()
DObjCMT.cpp196 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/
DClangExpressionParser.cpp355 … 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/
DFrontendActionTest.cpp41 ci.getPreprocessor().enableIncrementalProcessing(); in BeginSourceFileAction()
163 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp77 V->PP = &CI.getPreprocessor(); in BeginSourceFileAction()
/external/clang/include/clang/Frontend/
DASTUnit.h501 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function
502 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
DCompilerInstance.h416 Preprocessor &getPreprocessor() const { in getPreprocessor() function
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp118 CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); in CorrectTypo()
/external/clang/tools/libclang/
DIndexing.cpp427 Preprocessor &PP = CI.getPreprocessor(); in CreateASTConsumer()
694 Preprocessor &PP = Unit.getPreprocessor(); in indexPreprocessingRecord()
DCIndex.cpp395 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 …]
DCXCursor.cpp1288 unit->getPreprocessor(), in clang_getCursorCompletionString()
1302 unit->getPreprocessor(), in clang_getCursorCompletionString()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp658 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp117 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
1121 Preprocessor &PP = S.getPreprocessor(); in DiagnoseSwitchLabelsFallthrough()
DSema.cpp1040 if (getPreprocessor().getSpelling(loc, buffer) == name) { in findMacroSpelling()
/external/clang/include/clang/Serialization/
DASTReader.h1480 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function

12