[cfe-commits] r44523 - /cfe/trunk/include/clang/AST/Builtins.def
Chris Lattner
sabre at nondot.org
Sun Dec 2 15:05:46 PST 2007
Author: lattner
Date: Sun Dec 2 17:05:46 2007
New Revision: 44523
URL: http://llvm.org/viewvc/llvm-project?rev=44523&view=rev
Log:
add a fixme
Modified:
cfe/trunk/include/clang/AST/Builtins.def
Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=44523&r1=44522&r2=44523&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Sun Dec 2 17:05:46 2007
@@ -66,16 +66,18 @@
BUILTIN(__builtin_clz , "iUi" , "nc")
BUILTIN(__builtin_clzl , "iULi" , "nc")
BUILTIN(__builtin_clzll, "iULLi", "nc")
-// fixme: int clzimax(uintmax_t)
+// TODO: int clzimax(uintmax_t)
BUILTIN(__builtin_ctz , "iUi" , "nc")
BUILTIN(__builtin_ctzl , "iULi" , "nc")
BUILTIN(__builtin_ctzll, "iULLi", "nc")
-// fixme: int ctzimax(uintmax_t)
+// TODO: int ctzimax(uintmax_t)
-
-// Random GCC builtins
+// FIXME: These type signatures are not correct for targets with int != 32-bits
+// or with ULL != 64-bits.
BUILTIN(__builtin_bswap32, "UiUi", "nc")
BUILTIN(__builtin_bswap64, "ULLiULLi", "nc")
+
+// Random GCC builtins
BUILTIN(__builtin_constant_p, "UsUs", "nc")
BUILTIN(__builtin_classify_type, "i.", "nc")
BUILTIN(__builtin___CFStringMakeConstantString, "FC*cC*", "nc")
More information about the cfe-commits
mailing list