diff options
author | Chris Lattner <sabre@nondot.org> | 2010-10-12 02:16:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-10-12 02:16:39 +0000 |
commit | 18d853794f646a278f09c4ca7fc3ad4c35d9b1bb (patch) | |
tree | cdcbf695c585c85eb6a44fd277945684137a9836 | |
parent | 36226621f6006fc3eff2e18429d8f4f1c7f6c2de (diff) | |
download | bcm5719-llvm-18d853794f646a278f09c4ca7fc3ad4c35d9b1bb.tar.gz bcm5719-llvm-18d853794f646a278f09c4ca7fc3ad4c35d9b1bb.zip |
fix the definition of __builtin_constant_p, the first arg isn't a short.
Patch by the "pax team"
llvm-svn: 116288
-rw-r--r-- | clang/include/clang/Basic/Builtins.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/Builtins.def b/clang/include/clang/Basic/Builtins.def index b7a89f6bac5..eca73774f0c 100644 --- a/clang/include/clang/Basic/Builtins.def +++ b/clang/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") |