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

123

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/FrontendTool/
H A DUtils.h21 class CompilerInstance;
28 std::unique_ptr<FrontendAction> CreateFrontendAction(CompilerInstance &CI);
34 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ARCMigrate/
H A DARCMTActions.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/include/clang/Frontend/
H A DFrontendActions.h28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
38 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
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
[all...]
H A DFrontendAction.h33 class CompilerInstance;
39 CompilerInstance *Instance;
44 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
51 /// Prepare to execute the action on the given CompilerInstance.
55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; }
70 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; }
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) {
119 CompilerInstance &getCompilerInstance() const {
124 void setCompilerInstance(CompilerInstance *Valu
[all...]
H A DCompilerInstance.h1 //===-- CompilerInstance.h - Clang Compiler Instance ------------*- C++ -*-===//
54 /// CompilerInstance - Helper class for managing a single instance of the Clang
57 /// The CompilerInstance serves two purposes:
66 /// object and retaking ownership prior to destroying the CompilerInstance.
70 /// come in two forms; a short form that reuses the CompilerInstance objects,
72 class CompilerInstance : public ModuleLoader { class in namespace:clang
185 CompilerInstance(const CompilerInstance &) = delete;
186 void operator=(const CompilerInstance &) = delete;
188 explicit CompilerInstance(
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h31 class CompilerInstance;
40 ModelInjector(CompilerInstance &CI);
60 CompilerInstance &CI;
H A DFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI,
H A DModelInjector.cpp16 #include "clang/Frontend/CompilerInstance.h"
29 ModelInjector::ModelInjector(CompilerInstance &CI) : CI(CI) {}
77 // Modules are parsed by a separate CompilerInstance, so this code mimics that
79 CompilerInstance Instance(CI.getPCHContainerOperations());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DFrontendActions.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/include/clang/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.h27 class CompilerInstance;
56 CreateAnalysisConsumer(CompilerInstance &CI);
H A DFrontendActions.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/DependencyScanning/
H A DModuleDepCollector.h45 ModuleDepCollectorPP(CompilerInstance &I, ModuleDepCollector &MDC)
61 CompilerInstance &Instance;
74 ModuleDepCollector(CompilerInstance &I, DependencyConsumer &C);
82 CompilerInstance &Instance;
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMTActions.cpp11 #include "clang/Frontend/CompilerInstance.h"
16 bool CheckAction::BeginInvocation(CompilerInstance &CI) {
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) {
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp14 #include "clang/Frontend/CompilerInstance.h"
41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) {
115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) {
164 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
186 CompilerInstance &CI = getCompilerInstance();
195 CompilerInstance &CI = getCompilerInstance();
204 CompilerInstance &CI;
210 RewriteImportsListener(CompilerInstance
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DObjectFilePCHContainerOperations.h25 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp17 #include "clang/Frontend/CompilerInstance.h"
32 ChainedIncludesSourceImpl(std::vector<std::unique_ptr<CompilerInstance>> CIs)
52 std::vector<std::unique_ptr<CompilerInstance>> CIs;
59 std::vector<std::unique_ptr<CompilerInstance>> CIs,
72 ChainedIncludesSource(std::vector<std::unique_ptr<CompilerInstance>> CIs,
80 createASTReader(CompilerInstance &CI, StringRef pchFile,
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
119 std::vector<std::unique_ptr<CompilerInstance>> CIs;
147 std::unique_ptr<CompilerInstance> Clang(
148 new CompilerInstance(C
[all...]
H A DFrontendActions.cpp14 #include "clang/Frontend/CompilerInstance.h"
36 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) {
41 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) {
57 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
69 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
77 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
85 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
90 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
95 GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
123 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance
[all...]
H A DCompilerInstance.cpp1 //===--- CompilerInstance.cpp ---------------------------------------------===//
9 #include "clang/Frontend/CompilerInstance.h"
58 CompilerInstance::CompilerInstance( function in class:CompilerInstance
67 CompilerInstance::~CompilerInstance() {
71 void CompilerInstance::setInvocation(
76 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
83 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
87 void CompilerInstance
[all...]
H A DASTMerge.cpp14 #include "clang/Frontend/CompilerInstance.h"
20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) {
34 CompilerInstance &CI = getCompilerInstance();
H A DFrontendAction.cpp16 #include "clang/Frontend/CompilerInstance.h"
144 CompilerInstance &CI = getCompilerInstance();
150 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
232 static SourceLocation ReadOriginalFileName(CompilerInstance &CI,
416 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem,
448 static Module *prepareToBuildModule(CompilerInstance &CI,
514 getInputBufferForModule(CompilerInstance &CI, Module *M) {
538 bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
579 // file, otherwise the CompilerInstance will happily destroy them.
644 // file, otherwise the CompilerInstance wil
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h27 class CompilerInstance;
47 CreatePCHContainerGenerator(CompilerInstance &CI,
74 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h26 class CompilerInstance;
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/Tooling/Refactoring/Rename/
H A DUSRFindingAction.h26 class CompilerInstance;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.h166 std::unique_ptr<clang::CompilerInstance>
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DPCHContainerOperations.cpp54 CompilerInstance &CI, const std::string &MainFileName,

Completed in 318 milliseconds

123