Pass -fmodule-cache-path along to -cc1 properly

llvm-svn: 139977
This commit is contained in:
Douglas Gregor 2011-09-17 02:20:28 +00:00
parent 236888d026
commit c6b316acd9
1 changed files with 0 additions and 1 deletions

View File

@ -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 {