[PATCH] D45102: Fix typo in comment -fmath-errno=0 -> -fno-math-errno

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 30 11:53:44 PDT 2018


sbc100 created this revision.
Herald added subscribers: cfe-commits, aheejin.

The former is not a valid clang argument


Repository:
  rC Clang

https://reviews.llvm.org/D45102

Files:
  include/clang/Basic/Builtins.def


Index: include/clang/Basic/Builtins.def
===================================================================
--- include/clang/Basic/Builtins.def
+++ include/clang/Basic/Builtins.def
@@ -89,7 +89,7 @@
 //  S:N: -> similar to the s:N: attribute, but the function is like vscanf
 //          in that it accepts its arguments as a va_list rather than
 //          through an ellipsis
-//  e -> const, but only when -fmath-errno=0
+//  e -> const, but only when -fno-math-errno
 //  j -> returns_twice (like setjmp)
 //  u -> arguments are not evaluated for their side-effects
 //  FIXME: gcc has nonnull


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45102.140463.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180330/6ea5ce62/attachment.bin>


More information about the cfe-commits mailing list