[cfe-commits] r116288 - /cfe/trunk/include/clang/Basic/Builtins.def
Chris Lattner
sabre at nondot.org
Mon Oct 11 19:16:40 PDT 2010
Author: lattner
Date: Mon Oct 11 21:16:39 2010
New Revision: 116288
URL: http://llvm.org/viewvc/llvm-project?rev=116288&view=rev
Log:
fix the definition of __builtin_constant_p, the first arg isn't a short.
Patch by the "pax team"
Modified:
cfe/trunk/include/clang/Basic/Builtins.def
Modified: cfe/trunk/include/clang/Basic/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=116288&r1=116287&r2=116288&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Mon Oct 11 21:16:39 2010
@@ -288,7 +288,7 @@
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")
More information about the cfe-commits
mailing list