From: Douglas Gregor Date: Sat, 17 Sep 2011 02:20:28 +0000 (+0000) Subject: Pass -fmodule-cache-path along to -cc1 properly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bdbec17c3bc44aaa5ea88c62a958d47d1031016;p=clang Pass -fmodule-cache-path along to -cc1 properly git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139977 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 {