]> granicus.if.org Git - clang/commitdiff
clang-cl: Fix help text for /O<flags>: '/O2y-' means '/O2 /Oy-', not '/O2 /y-'
authorNico Weber <nicolasweber@gmx.de>
Mon, 14 Jan 2019 12:42:35 +0000 (12:42 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 14 Jan 2019 12:42:35 +0000 (12:42 +0000)
Differential Revision: https://reviews.llvm.org/D56489

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351062 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CLCompatOptions.td

index 62e6d73c6b18ee67984b1f5ab9076752aa113764..b09ea41049d14b0fc2e8b3364d140f6754d73cbd 100644 (file)
@@ -116,7 +116,7 @@ def _SLASH_J : CLFlag<"J">, HelpText<"Make char type unsigned">,
 // The _SLASH_O option handles all the /O flags, but we also provide separate
 // aliased options to provide separate help messages.
 def _SLASH_O : CLJoined<"O">,
-  HelpText<"Set multiple /O flags at once; e.g. '/O2y-' is the same as '/O2 /y-'">,
+  HelpText<"Set multiple /O flags at once; e.g. '/O2y-' for '/O2 /Oy-'">,
   MetaVarName<"<flags>">;
 // FIXME: Not sure why we have -O0 here; MSVC doesn't support that.
 def : CLFlag<"O0">, Alias<O0>, HelpText<"Disable optimization">;