summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-01-13 17:34:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-01-13 17:34:15 +0000
commit0aaa7625e1fcd11356dc2ebc398c06948ccc5fa0 (patch)
tree4b93b0c2bb6aa1c4e444c1cf274e9688e43eeeeb /clang/lib/Frontend/CompilerInvocation.cpp
parent10527a92539f3533b2149afd7f85b098eeee9b23 (diff)
downloadbcm5719-llvm-0aaa7625e1fcd11356dc2ebc398c06948ccc5fa0.tar.gz
bcm5719-llvm-0aaa7625e1fcd11356dc2ebc398c06948ccc5fa0.zip
unique_ptrify createDriverOptTable
llvm-svn: 291919
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 36f6b0a5111..2db6e0c4957 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2405,7 +2405,7 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res,
bool Success = true;
// Parse the arguments.
- std::unique_ptr<OptTable> Opts(createDriverOptTable());
+ std::unique_ptr<OptTable> Opts = createDriverOptTable();
const unsigned IncludedFlagsBitmask = options::CC1Option;
unsigned MissingArgIndex, MissingArgCount;
InputArgList Args =
OpenPOWER on IntegriCloud