From: Chris Lattner Date: Tue, 12 Oct 2010 02:16:39 +0000 (+0000) Subject: fix the definition of __builtin_constant_p, the first arg isn't a short. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12e9c6db87d58bfe23197e358864218624e27f41;p=clang fix the definition of __builtin_constant_p, the first arg isn't a short. Patch by the "pax team" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116288 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Builtins.def b/include/clang/Basic/Builtins.def index b7a89f6bac..eca73774f0 100644 --- a/include/clang/Basic/Builtins.def +++ b/include/clang/Basic/Builtins.def @@ -288,7 +288,7 @@ BUILTIN(__builtin_bswap32, "UiUi", "nc") BUILTIN(__builtin_bswap64, "ULLiULLi", "nc") // Random GCC builtins -BUILTIN(__builtin_constant_p, "is.", "nc") +BUILTIN(__builtin_constant_p, "i.", "nc") BUILTIN(__builtin_classify_type, "i.", "nc") BUILTIN(__builtin___CFStringMakeConstantString, "FC*cC*", "nc") BUILTIN(__builtin___NSStringMakeConstantString, "FC*cC*", "nc")