]> granicus.if.org Git - clang/commitdiff
Add builtin declarations for the variants of sin and cos.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 2 Jun 2009 07:06:02 +0000 (07:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 2 Jun 2009 07:06:02 +0000 (07:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72718 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Builtins.def

index 5a2fd515e0ecf6946b043b121840da1fed9ce9ba..2475e8511e58a6d8858d2e063f4c90006b780f65 100644 (file)
@@ -376,5 +376,13 @@ LIBBUILTIN(sqrt, "dd", "fe", "math.h")
 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