aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-02 07:06:02 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-02 07:06:02 +0000
commit0efa68487696d3cd8ae2f8207e4bfb5995d44951 (patch)
tree22c1fb3bf5a43b7832db572fe96c8a909686c757
parentdb7351af8e9f9b46075e62137a29a84c666404b2 (diff)
Add builtin declarations for the variants of sin and cos.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72718 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Builtins.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/AST/Builtins.def b/include/clang/AST/Builtins.def
index 5a2fd515e0..2475e8511e 100644
--- a/include/clang/AST/Builtins.def
+++ b/include/clang/AST/Builtins.def
@@ -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