]> granicus.if.org Git - clang/commitdiff
clang-cl: Add a comment about /Oy- (see r245913).
authorNico Weber <nicolasweber@gmx.de>
Mon, 21 Mar 2016 02:48:05 +0000 (02:48 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 21 Mar 2016 02:48:05 +0000 (02:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263920 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CLCompatOptions.td

index 2604c653fd0a76a2e6ca3d72f613b4dc4f2b5ee0..d9102d8535ceda5c9a07ac98640066f15d335fad 100644 (file)
@@ -98,6 +98,7 @@ def _SLASH_I : CLJoinedOrSeparate<"I">,
 def _SLASH_J : CLFlag<"J">, HelpText<"Make char type unsigned">,
   Alias<funsigned_char>;
 def _SLASH_O0 : CLFlag<"O0">, Alias<O0>;
+// /Oy- is handled by the /O option because /Oy- only has an effect on 32-bit.
 def _SLASH_O : CLJoined<"O">, HelpText<"Optimization level">;
 def _SLASH_Ob0 : CLFlag<"Ob0">, HelpText<"Disable inlining">,
   Alias<fno_inline>;