The new driver doesn't take default image name.
This commit is contained in:
committed by
sftnight
parent
3dd0272e5c
commit
e464ac0ea1
@ -25,6 +25,7 @@
|
|||||||
#include "clang/Sema/Sema.h"
|
#include "clang/Sema/Sema.h"
|
||||||
#include "clang/Sema/SemaDiagnostic.h"
|
#include "clang/Sema/SemaDiagnostic.h"
|
||||||
|
|
||||||
|
#include "llvm/ADT/OwningPtr.h"
|
||||||
#include "llvm/Config/config.h"
|
#include "llvm/Config/config.h"
|
||||||
#include "llvm/IR/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include "llvm/Option/ArgList.h"
|
#include "llvm/Option/ArgList.h"
|
||||||
@ -583,7 +584,6 @@ namespace cling {
|
|||||||
Diags(new DiagnosticsEngine(DiagIDs, &DiagOpts,
|
Diags(new DiagnosticsEngine(DiagIDs, &DiagOpts,
|
||||||
DiagnosticPrinter, /*Owns it*/ true));
|
DiagnosticPrinter, /*Owns it*/ true));
|
||||||
clang::driver::Driver Driver(argv[0], llvm::sys::getDefaultTargetTriple(),
|
clang::driver::Driver Driver(argv[0], llvm::sys::getDefaultTargetTriple(),
|
||||||
"cling.out",
|
|
||||||
*Diags);
|
*Diags);
|
||||||
//Driver.setWarnMissingInput(false);
|
//Driver.setWarnMissingInput(false);
|
||||||
Driver.setCheckInputsExist(false); // think foo.C(12)
|
Driver.setCheckInputsExist(false); // think foo.C(12)
|
||||||
|
Reference in New Issue
Block a user