diff options
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 0c97cf33f41..e8c8df5b8f3 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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 { |