Home | History | Annotate | Download | only in Tooling

Lines Matching refs:Compiler

3 //                     The LLVM Compiler Infrastructure
44 // code that sets up a compiler to run tools on it, and we should refactor
199 // Create a compiler instance to handle the actual work.
200 clang::CompilerInstance Compiler;
201 Compiler.setInvocation(Invocation);
202 Compiler.setFileManager(Files);
205 // ToolAction can have lifetime requirements for Compiler or its members, and
206 // we need to ensure it's deleted earlier than Compiler. So we pass it to an
207 // OwningPtr declared after the Compiler variable.
211 Compiler.createDiagnostics();
212 if (!Compiler.hasDiagnostics())
215 Compiler.createSourceManager(*Files);
216 addFileMappingsTo(Compiler.getSourceManager());
218 const bool Success = Compiler.ExecuteAction(*ScopedToolAction);
220 Compiler.resetAndLeakFileManager();