[cfe-commits] r72718 - /cfe/trunk/include/clang/AST/Builtins.def

Eli Friedman eli.friedman at gmail.com
Tue Jun 2 00:06:02 PDT 2009


Author: efriedma
Date: Tue Jun  2 02:06:02 2009
New Revision: 72718

URL: http://llvm.org/viewvc/llvm-project?rev=72718&view=rev
Log:
Add builtin declarations for the variants of sin and cos.


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

Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=72718&r1=72717&r2=72718&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Tue Jun  2 02:06:02 2009
@@ -376,5 +376,13 @@
 LIBBUILTIN(sqrtl, "LdLd", "fe", "math.h")
 LIBBUILTIN(sqrtf, "ff", "fe", "math.h")
 
+LIBBUILTIN(sin, "dd", "fe", "math.h")
+LIBBUILTIN(sinl, "LdLd", "fe", "math.h")
+LIBBUILTIN(sinf, "ff", "fe", "math.h")
+
+LIBBUILTIN(cos, "dd", "fe", "math.h")
+LIBBUILTIN(cosl, "LdLd", "fe", "math.h")
+LIBBUILTIN(cosf, "ff", "fe", "math.h")
+
 #undef BUILTIN
 #undef LIBBUILTIN





More information about the cfe-commits mailing list