Basic: import OwningPtr<> into clang namespace
llvm-svn: 149798
This commit is contained in:
@@ -2059,9 +2059,9 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res,
|
||||
bool Success = true;
|
||||
|
||||
// Parse the arguments.
|
||||
llvm::OwningPtr<OptTable> Opts(createCC1OptTable());
|
||||
OwningPtr<OptTable> Opts(createCC1OptTable());
|
||||
unsigned MissingArgIndex, MissingArgCount;
|
||||
llvm::OwningPtr<InputArgList> Args(
|
||||
OwningPtr<InputArgList> Args(
|
||||
Opts->ParseArgs(ArgBegin, ArgEnd,MissingArgIndex, MissingArgCount));
|
||||
|
||||
// Check for missing argument error.
|
||||
|
||||
Reference in New Issue
Block a user