]> granicus.if.org Git - clang/commitdiff
fix the definition of __builtin_constant_p, the first arg isn't a short.
authorChris Lattner <sabre@nondot.org>
Tue, 12 Oct 2010 02:16:39 +0000 (02:16 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 12 Oct 2010 02:16:39 +0000 (02:16 +0000)
Patch by the "pax team"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116288 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.def

index b7a89f6bac53b0ead0d7e38598e5a26c0d0876c2..eca73774f0c981d1243193b1be12f1b043afead1 100644 (file)
@@ -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")