Lines Matching refs:Compiler
3 // The LLVM Compiler Infrastructure
43 // code that sets up a compiler to run tools on it, and we should refactor
197 // Create a compiler instance to handle the actual work.
198 clang::CompilerInstance Compiler;
199 Compiler.setInvocation(Invocation);
200 Compiler.setFileManager(Files);
203 // ToolAction can have lifetime requirements for Compiler or its members, and
204 // we need to ensure it's deleted earlier than Compiler. So we pass it to an
205 // OwningPtr declared after the Compiler variable.
209 Compiler.createDiagnostics();
210 if (!Compiler.hasDiagnostics())
213 Compiler.createSourceManager(*Files);
214 addFileMappingsTo(Compiler.getSourceManager());
216 const bool Success = Compiler.ExecuteAction(*ScopedToolAction);
218 Compiler.resetAndLeakFileManager();