From 0efa68487696d3cd8ae2f8207e4bfb5995d44951 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 2 Jun 2009 07:06:02 +0000 Subject: [PATCH] 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 --- include/clang/AST/Builtins.def | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.40.0