Home
last modified time | relevance | path

Searched refs:CompilerInstance (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
HDFrontendActions.h28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
38 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
55 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
61 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
67 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
73 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
95 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
101 CreateOutputFile(CompilerInstance &CI, StringRef InFile,
104 bool BeginSourceFileAction(CompilerInstance &CI) override;
[all …]
HDFrontendAction.h33 class CompilerInstance; variable
39 CompilerInstance *Instance;
44 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction()
70 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
119 CompilerInstance &getCompilerInstance() const { in getCompilerInstance()
124 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; } in setCompilerInstance()
207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
[all …]
HDCompilerInstance.h72 class CompilerInstance : public ModuleLoader {
185 CompilerInstance(const CompilerInstance &) = delete;
186 void operator=(const CompilerInstance &) = delete;
188 explicit CompilerInstance(
192 ~CompilerInstance() override;
HDPrecompiledPreamble.h34 class CompilerInstance; variable
263 virtual void BeforeExecute(CompilerInstance &CI);
267 virtual void AfterExecute(CompilerInstance &CI);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ARCMigrate/
HDARCMTActions.h21 bool BeginInvocation(CompilerInstance &CI) override;
29 bool BeginInvocation(CompilerInstance &CI) override;
38 bool BeginInvocation(CompilerInstance &CI) override;
39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
48 bool BeginInvocation(CompilerInstance &CI) override;
62 CompilerInstance *CompInst;
68 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
70 bool BeginInvocation(CompilerInstance &CI) override;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDCompilerInstance.cpp58 CompilerInstance::CompilerInstance( in CompilerInstance() function in CompilerInstance
67 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
71 void CompilerInstance::setInvocation( in setInvocation()
76 bool CompilerInstance::shouldBuildGlobalModuleIndex() const { in shouldBuildGlobalModuleIndex()
83 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) { in setDiagnostics()
87 void CompilerInstance::setVerboseOutputStream(raw_ostream &Value) { in setVerboseOutputStream()
92 void CompilerInstance::setVerboseOutputStream(std::unique_ptr<raw_ostream> Value) { in setVerboseOutputStream()
97 void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; } in setTarget()
98 void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; } in setAuxTarget()
100 void CompilerInstance::setFileManager(FileManager *Value) { in setFileManager()
[all …]
HDFrontendActions.cpp36 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer()
41 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated()
57 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
69 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
77 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
85 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
90 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
95 GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
123 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments()
135 GeneratePCHAction::CreateOutputFile(CompilerInstance &CI, StringRef InFile, in CreateOutputFile()
[all …]
HDChainedIncludesSource.cpp32 ChainedIncludesSourceImpl(std::vector<std::unique_ptr<CompilerInstance>> CIs) in ChainedIncludesSourceImpl()
52 std::vector<std::unique_ptr<CompilerInstance>> CIs;
59 std::vector<std::unique_ptr<CompilerInstance>> CIs, in ChainedIncludesSourceMembers()
72 ChainedIncludesSource(std::vector<std::unique_ptr<CompilerInstance>> CIs, in ChainedIncludesSource()
80 createASTReader(CompilerInstance &CI, StringRef pchFile, in createASTReader()
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
119 std::vector<std::unique_ptr<CompilerInstance>> CIs; in createChainedIncludesSource()
147 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource()
148 new CompilerInstance(CI.getPCHContainerOperations())); in createChainedIncludesSource()
HDFrontendAction.cpp144 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule()
150 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
232 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName()
416 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild()
448 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule()
514 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule()
538 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
930 CompilerInstance &CI = getCompilerInstance(); in Execute()
959 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile()
1025 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
[all …]
HDASTMerge.cpp20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
HDPrecompiledPreamble.cpp134 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
197 PrecompilePreambleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
280 std::unique_ptr<CompilerInstance> Clang( in Build()
281 new CompilerInstance(std::move(PCHContainerOps))); in Build()
284 llvm::CrashRecoveryContextCleanupRegistrar<CompilerInstance> CICleanup( in Build()
749 void PreambleCallbacks::BeforeExecute(CompilerInstance &CI) {} in BeforeExecute()
750 void PreambleCallbacks::AfterExecute(CompilerInstance &CI) {} in AfterExecute()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
HDFrontendActions.h25 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
34 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
37 bool BeginSourceFileAction(CompilerInstance &CI) override;
56 bool BeginInvocation(CompilerInstance &CI) override;
61 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 bool BeginSourceFileAction(CompilerInstance &CI) override;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDFrontendActions.cpp41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
164 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
186 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
195 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
204 CompilerInstance &CI;
210 RewriteImportsListener(CompilerInstance &CI, std::shared_ptr<raw_ostream> Out) in RewriteImportsListener()
244 CompilerInstance Instance(CI.getPCHContainerOperations(), in visitModuleFile()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/FrontendTool/
HDUtils.h21 class CompilerInstance; variable
28 std::unique_ptr<FrontendAction> CreateFrontendAction(CompilerInstance &CI);
34 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
HDModuleDepCollector.h45 ModuleDepCollectorPP(CompilerInstance &I, ModuleDepCollector &MDC) in ModuleDepCollectorPP()
61 CompilerInstance &Instance;
74 ModuleDepCollector(CompilerInstance &I, DependencyConsumer &C);
82 CompilerInstance &Instance;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
HDModelInjector.h31 class CompilerInstance; variable
40 ModelInjector(CompilerInstance &CI);
60 CompilerInstance &CI;
HDFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
HDModelInjector.cpp29 ModelInjector::ModelInjector(CompilerInstance &CI) : CI(CI) {} in ModelInjector()
79 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDARCMTActions.cpp16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/
HDCrossTranslationUnit.h26 class CompilerInstance; variable
108 CrossTranslationUnitContext(CompilerInstance &CI);
215 ASTFileLoader(const CompilerInstance &CI);
219 const CompilerInstance &CI;
245 ASTUnitStorage(const CompilerInstance &CI);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
HDPCHContainerOperations.h27 class CompilerInstance; variable
47 CreatePCHContainerGenerator(CompilerInstance &CI,
74 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
HDAnalysisConsumer.h27 class CompilerInstance; variable
56 CreateAnalysisConsumer(CompilerInstance &CI);
HDFrontendActions.h29 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
47 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
HDTooling.h53 class CompilerInstance; variable
124 virtual bool handleBeginSource(CompilerInstance &CI) { in handleBeginSource()
433 CreateASTConsumer(CompilerInstance &, StringRef) override { in newFrontendActionFactory()
438 bool BeginSourceFileAction(CompilerInstance &CI) override { in newFrontendActionFactory()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDClangModulesDeclVendor.cpp71 std::unique_ptr<clang::CompilerInstance> compiler_instance,
101 std::unique_ptr<clang::CompilerInstance> m_compiler_instance;
155 std::unique_ptr<clang::CompilerInstance> compiler_instance, in ClangModulesDeclVendorImpl()
632 clang::CompilerInstance::createDiagnostics(new clang::DiagnosticOptions, in Create()
661 std::unique_ptr<clang::CompilerInstance> instance( in Create()
662 new clang::CompilerInstance); in Create()

123