Home | History | Annotate | Download | only in Tooling

Lines Matching refs:Compiler

3 //                     The LLVM Compiler Infrastructure
51 // code that sets up a compiler to run tools on it, and we should refactor
249 // Create a compiler instance to handle the actual work.
250 clang::CompilerInstance Compiler;
251 Compiler.setInvocation(Invocation);
252 Compiler.setFileManager(Files);
254 // The FrontendAction can have lifetime requirements for Compiler or its
255 // members, and we need to ensure it's deleted earlier than Compiler. So we
256 // pass it to an std::unique_ptr declared after the Compiler variable.
259 // Create the compiler's actual diagnostics engine.
260 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false);
261 if (!Compiler.hasDiagnostics())
264 Compiler.createSourceManager(*Files);
266 const bool Success = Compiler.ExecuteAction(*ScopedToolAction);