14#ifndef LLVM_CLANG_DRIVER_CREATEINVOCATIONFROMARGS_H
15#define LLVM_CLANG_DRIVER_CREATEINVOCATIONFROMARGS_H
19#include "llvm/Support/VirtualFileSystem.h"
49 std::vector<std::string> *
CC1Args =
nullptr;
70std::unique_ptr<CompilerInvocation>
Defines the Diagnostic-related interfaces.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Helper class for holding the data necessary to invoke the compiler.
Concrete class used by the front-end to report problems and issues.
The JSON file list parser is used to communicate input to InstallAPI.
std::unique_ptr< CompilerInvocation > createInvocation(ArrayRef< const char * > Args, CreateInvocationOptions Opts={})
Interpret clang arguments in preparation to parse a file.
Optional inputs to createInvocation.
IntrusiveRefCntPtr< DiagnosticsEngine > Diags
Receives diagnostics encountered while parsing command-line flags.
bool ProbePrecompiled
Allow the driver to probe the filesystem for PCH files.
bool RecoverOnError
Whether to attempt to produce a non-null (possibly incorrect) invocation if any errors were encounter...
IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS
Used e.g.
std::vector< std::string > * CC1Args
If set, the target is populated with the cc1 args produced by the driver.