From: Eli Friedman Date: Tue, 2 Jun 2009 07:06:02 +0000 (+0000) Subject: Add builtin declarations for the variants of sin and cos. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0efa68487696d3cd8ae2f8207e4bfb5995d44951;p=clang 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 --- 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