]> granicus.if.org Git - clang/commitdiff
Fix misspelling of -fmodules-decluse.
authorDaniel Jasper <djasper@google.com>
Sun, 29 Sep 2013 12:40:54 +0000 (12:40 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 29 Sep 2013 12:40:54 +0000 (12:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191640 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 322fe5a898d3671ae242e1063b25476c297a3264..dd48bc18e81682a5bd540fbbf793c31c48f60240 100644 (file)
@@ -3034,11 +3034,11 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     CmdArgs.push_back("-fmodule-maps");
   }
 
-  // -fmodule-decluse checks that modules used are declared so (off by default).
+  // -fmodules-decluse checks that modules used are declared so (off by default).
   if (Args.hasFlag(options::OPT_fmodules_decluse,
                    options::OPT_fno_modules_decluse,
                    false)) {
-    CmdArgs.push_back("-fmodule-decluse");
+    CmdArgs.push_back("-fmodules-decluse");
   }
 
   // If a module path was provided, pass it along. Otherwise, use a temporary