Home
last modified time | relevance | path

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

/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDFrontendActions.cpp86 return new PCHGenerator(CI.getPreprocessor(), OutputFile, 0, Sysroot, OS); in CreateASTConsumer()
121 return new PCHGenerator(CI.getPreprocessor(), OutputFile, Module, in CreateASTConsumer()
224 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction()
265 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap(), in BeginSourceFileAction()
285 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in ComputeASTConsumerArguments()
440 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
458 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
481 CacheTokens(CI.getPreprocessor(), OS); in ExecuteAction()
485 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
544 DoPrintPreprocessedInput(CI.getPreprocessor(), OS, in ExecuteAction()
HDFrontendAction.cpp199 CI.setPreprocessor(&AST->getPreprocessor()); in BeginSourceFile()
272 &CI.getPreprocessor()); in BeginSourceFile()
329 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile()
386 CI.getPreprocessor().getHeaderSearchInfo().getModuleCachePath()); in Execute()
421 CI.getPreprocessor().EndSourceFile(); in EndSourceFile()
425 CI.getPreprocessor().PrintStats(); in EndSourceFile()
426 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile()
427 CI.getPreprocessor().getHeaderSearchInfo().PrintStats(); in EndSourceFile()
HDChainedIncludesSource.cpp33 Preprocessor &PP = CI.getPreprocessor(); in createASTReader()
108 &Clang->getPreprocessor()); in create()
114 consumer.reset(new PCHGenerator(Clang->getPreprocessor(), "-", 0, in create()
122 Preprocessor &PP = Clang->getPreprocessor(); in create()
HDCompilerInstance.cpp283 Preprocessor &PP = getPreprocessor(); in createASTContext()
301 getPreprocessor(), getASTContext(), in createPCHExternalASTSource()
379 createCodeCompletionConsumer(getPreprocessor(), in createCodeCompletionConsumer()
385 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer()
393 getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary); in createCodeCompletionConsumer()
418 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema()
811 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModule()
1157 ModuleManager = new ASTReader(getPreprocessor(), *Context, in loadModule()
1380 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule()
HDASTUnit.cpp975 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer()
1073 CI.getPreprocessor().addPPCallbacks(new MacroDefinitionTrackerPPCallbacks( in CreateASTConsumer()
1075 return new PrecompilePreambleConsumer(Unit, this, CI.getPreprocessor(), in CreateASTConsumer()
1725 PP = &CI.getPreprocessor(); in transferASTDataFromCompilerInstance()
1892 Clang->getPreprocessor().addPPCallbacks( in LoadFromCompilerInvocationAction()
/trueos/contrib/llvm/tools/clang/lib/Parse/
HDParseAST.cpp56 const Preprocessor &PP = P.getPreprocessor(); in print()
64 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print()
112 OwningPtr<Parser> ParseOP(new Parser(S.getPreprocessor(), S, in ParseAST()
122 S.getPreprocessor().EnterMainSourceFile(); in ParseAST()
/trueos/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
HDFrontendActions.cpp36 return CreateHTMLPrinter(OS, CI.getPreprocessor()); in CreateASTConsumer()
174 RewriteMacrosInInput(CI.getPreprocessor(), OS); in ExecuteAction()
182 DoRewriteTest(CI.getPreprocessor(), OS); in ExecuteAction()
190 RewriteIncludesInInput(CI.getPreprocessor(), OS, in ExecuteAction()
/trueos/contrib/llvm/tools/clang/lib/ARCMigrate/
HDARCMT.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()
487 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer()
593 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform()
605 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform()
608 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
HDObjCMT.cpp162 CompInst->getPreprocessor().addPPCallbacks(PPRec); in CreateASTConsumer()
170 CompInst->getPreprocessor(), in CreateASTConsumer()
1764 CI.getPreprocessor().addPPCallbacks(PPRec); in CreateASTConsumer()
1772 CI.getPreprocessor(), in CreateASTConsumer()
/trueos/contrib/llvm/tools/lldb/source/Expression/
HDClangExpressionParser.cpp350 … m_compiler->getPreprocessor().getIdentifierTable(), in ClangExpressionParser()
390 diag_buf->BeginSourceFile(m_compiler->getLangOpts(), &m_compiler->getPreprocessor()); in Parse()
395 ParseAST(m_compiler->getPreprocessor(), ast_transformer, m_compiler->getASTContext()); in Parse()
397 … ParseAST(m_compiler->getPreprocessor(), m_code_generator.get(), m_compiler->getASTContext()); in Parse()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
HDFrontendActions.cpp18 return CreateAnalysisConsumer(CI.getPreprocessor(), in CreateASTConsumer()
/trueos/contrib/llvm/tools/clang/include/clang/Frontend/
HDASTUnit.h451 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function
452 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
HDCompilerInstance.h360 Preprocessor &getPreprocessor() const { in getPreprocessor() function
/trueos/contrib/llvm/tools/clang/include/clang/Serialization/
HDASTReader.h1290 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSema.cpp978 if (getPreprocessor().getSpelling(loc, buffer) == name) { in findMacroSpelling()
HDAnalysisBasedWarnings.cpp949 Preprocessor &PP = S.getPreprocessor(); in DiagnoseSwitchLabelsFallthrough()
HDSemaChecking.cpp2923 S.getPreprocessor().getLocForEndOfToken(E->getLocEnd()); in checkForCStrMembers()
5299 S.getPreprocessor().getLocForEndOfToken(E->getLocEnd()), "()"); in CheckImplicitConversion()
HDSemaExpr.cpp7618 FirstClose = S.getPreprocessor().getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison()
7628 SecondClose = S.getPreprocessor().getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison()
HDSemaInit.cpp7054 S.getPreprocessor().getLocForEndOfToken(PostInit->getLocEnd()), ")"); in DiagnoseNarrowingInInitList()
/trueos/contrib/llvm/tools/clang/include/clang/Parse/
HDParser.h226 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDASTReader.cpp1313 Reader.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in ReadData()
2886 = getPreprocessor().getHeaderSearchInfo().getModuleCachePath(); in loadGlobalIndex()
/trueos/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h876 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function