summaryrefslogtreecommitdiffstats
path: root/include/clang
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-01-14 12:42:35 +0000
committerNico Weber <nicolasweber@gmx.de>2019-01-14 12:42:35 +0000
commitcf6bc00ebb7901a8ca51a33510564cd982a22da6 (patch)
treeef8e1699e24b69567133434567df6365e558a8d8 /include/clang
parent0bef192827eedd853dddae53bc37d889c327813a (diff)
clang-cl: Fix help text for /O<flags>: '/O2y-' means '/O2 /Oy-', not '/O2 /y-'
Differential Revision: https://reviews.llvm.org/D56489 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Driver/CLCompatOptions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Driver/CLCompatOptions.td b/include/clang/Driver/CLCompatOptions.td
index 62e6d73c6b..b09ea41049 100644
--- a/include/clang/Driver/CLCompatOptions.td
+++ b/include/clang/Driver/CLCompatOptions.td
@@ -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">;