aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 0c97cf33f4..e8c8df5b8f 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -379,7 +379,6 @@ void Clang::AddPreprocessingOptions(const Driver &D,
// If a module path was provided, pass it along. Otherwise, use a temporary
// directory.
if (Arg *A = Args.getLastArg(options::OPT_fmodule_cache_path)) {
- CmdArgs.push_back(A->getValue(Args));
A->claim();
A->render(Args, CmdArgs);
} else {