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

123

/external/clang/include/clang/FrontendTool/
H A DUtils.h20 class CompilerInstance;
26 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/external/clang/include/clang/ARCMigrate/
H A DARCMTActions.h22 bool BeginInvocation(CompilerInstance &CI) override;
30 bool BeginInvocation(CompilerInstance &CI) override;
39 bool BeginInvocation(CompilerInstance &CI) override;
40 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
49 bool BeginInvocation(CompilerInstance &CI) override;
62 CompilerInstance *CompInst;
68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
70 bool BeginInvocation(CompilerInstance &CI) override;
/external/clang/lib/StaticAnalyzer/Frontend/
H A DFrontendActions.cpp11 #include "clang/Frontend/CompilerInstance.h"
16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI,
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsAction.h21 clang::CompilerInstance& instance,
23 virtual bool ParseArgs(const clang::CompilerInstance& instance,
H A DFindBadConstructsAction.cpp19 CompilerInstance& instance,
24 bool FindBadConstructsAction::ParseArgs(const CompilerInstance& instance,
H A DChromeClassTester.h13 #include "clang/Frontend/CompilerInstance.h"
19 explicit ChromeClassTester(clang::CompilerInstance& instance);
27 clang::CompilerInstance& instance() { return instance_; }
74 clang::CompilerInstance& instance_;
/external/clang/include/clang/Frontend/
H A DFrontendAction.h33 class CompilerInstance;
39 CompilerInstance *Instance;
44 ASTConsumer* CreateWrappedASTConsumer(CompilerInstance &CI,
64 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
73 virtual bool BeginInvocation(CompilerInstance &CI) { return true; }
79 virtual bool BeginSourceFileAction(CompilerInstance &CI,
114 CompilerInstance &getCompilerInstance() const {
119 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; }
195 /// CompilerInstance. When processing AST input files, these objects should
196 /// generally not be initialized in the CompilerInstance
[all...]
H A DFrontendActions.h29 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
44 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
50 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
56 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
74 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
88 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
101 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
116 bool BeginSourceFileAction(CompilerInstance
[all...]
H A DCompilerInstance.h1 //===-- CompilerInstance.h - Clang Compiler Instance ------------*- C++ -*-===//
50 /// CompilerInstance - Helper class for managing a single instance of the Clang
53 /// The CompilerInstance serves two purposes:
62 /// object and retaking ownership prior to destroying the CompilerInstance.
66 /// come in two forms; a short form that reuses the CompilerInstance objects,
68 class CompilerInstance : public ModuleLoader { class in namespace:clang
156 CompilerInstance(const CompilerInstance &) LLVM_DELETED_FUNCTION;
157 void operator=(const CompilerInstance &) LLVM_DELETED_FUNCTION;
159 explicit CompilerInstance(boo
[all...]
/external/clang/include/clang/Rewrite/Frontend/
H A DFrontendActions.h25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
34 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
37 bool BeginSourceFileAction(CompilerInstance &CI,
57 bool BeginInvocation(CompilerInstance &CI) override;
62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
/external/clang/lib/ARCMigrate/
H A DARCMTActions.cpp12 #include "clang/Frontend/CompilerInstance.h"
17 bool CheckAction::BeginInvocation(CompilerInstance &CI) {
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) {
38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
/external/clang/include/clang/StaticAnalyzer/Frontend/
H A DFrontendActions.h25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
/external/clang/unittests/Frontend/
H A DFrontendActionTest.cpp14 #include "clang/Frontend/CompilerInstance.h"
34 virtual bool BeginSourceFileAction(CompilerInstance &ci, StringRef filename) {
41 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
73 CompilerInstance compiler;
92 CompilerInstance compiler;
/external/clang/lib/Frontend/
H A DASTMerge.cpp14 #include "clang/Frontend/CompilerInstance.h"
19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI,
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI,
35 CompilerInstance &CI = getCompilerInstance();
H A DFrontendActions.cpp15 #include "clang/Frontend/CompilerInstance.h"
36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI,
48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI,
55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI,
61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI,
66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI,
71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI,
76 ASTConsumer *GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI,
90 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI,
114 ASTConsumer *GenerateModuleAction::CreateASTConsumer(CompilerInstance
[all...]
H A DCompilerInstance.cpp1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
54 CompilerInstance::CompilerInstance(bool BuildingModule) function in class:CompilerInstance
61 CompilerInstance::~CompilerInstance() {
65 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
69 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
76 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
80 void CompilerInstance
[all...]
H A DFrontendAction.cpp15 #include "clang/Frontend/CompilerInstance.h"
135 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
168 bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
202 // file, otherwise the CompilerInstance will happily destroy them.
407 CompilerInstance &CI = getCompilerInstance();
428 CompilerInstance &CI = getCompilerInstance();
493 CompilerInstance &CI = getCompilerInstance();
518 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI,
523 ASTConsumer *WrapperFrontendAction::CreateASTConsumer(CompilerInstance &CI,
527 bool WrapperFrontendAction::BeginInvocation(CompilerInstance
[all...]
H A DCreateInvocationFromCommandLine.cpp20 #include "clang/Frontend/CompilerInstance.h"
38 Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions);
H A DChainedIncludesSource.cpp17 #include "clang/Frontend/CompilerInstance.h"
34 std::vector<CompilerInstance *> CIs;
76 createASTReader(CompilerInstance &CI, StringRef pchFile,
113 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
147 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance());
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp18 #include "clang/Frontend/CompilerInstance.h"
39 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) {
43 bool ParseArgs(const CompilerInstance &CI,
/external/clang/lib/Rewrite/Frontend/
H A DFrontendActions.cpp13 #include "clang/Frontend/CompilerInstance.h"
33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI,
43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI,
87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI,
107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) {
153 ASTConsumer *RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI,
170 CompilerInstance &CI = getCompilerInstance();
178 CompilerInstance &CI = getCompilerInstance();
186 CompilerInstance &CI = getCompilerInstance();
/external/clang/unittests/AST/
H A DExternalASTSourceTest.cpp17 #include "clang/Frontend/CompilerInstance.h"
38 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
48 CompilerInstance Compiler;
H A DEvaluateAsRValueTest.cpp62 clang::ASTConsumer *CreateASTConsumer(clang::CompilerInstance &Compiler,
/external/clang/tools/driver/
H A Dcc1_main.cpp19 #include "clang/Frontend/CompilerInstance.h"
68 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance());
/external/lldb/include/lldb/Expression/
H A DClangExpressionParser.h141 std::unique_ptr<clang::CompilerInstance> m_compiler; ///< The Clang compiler used to parse expressions into IR

Completed in 9592 milliseconds

123