r329323 - Fix typo in comment -fmath-errno=0 -> -fno-math-errno

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 5 10:44:08 PDT 2018


Author: sbc
Date: Thu Apr  5 10:44:08 2018
New Revision: 329323

URL: http://llvm.org/viewvc/llvm-project?rev=329323&view=rev
Log:
Fix typo in comment -fmath-errno=0 -> -fno-math-errno

The former is not a valid clang argument

Differential Revision: https://reviews.llvm.org/D45102

Modified:
    cfe/trunk/include/clang/Basic/Builtins.def

Modified: cfe/trunk/include/clang/Basic/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=329323&r1=329322&r2=329323&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Thu Apr  5 10:44:08 2018
@@ -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




More information about the cfe-commits mailing list