]> granicus.if.org Git - clang/commit
Provide a bit saying that a builtin undergoes custom type-checking, then
authorJohn McCall <rjmccall@apple.com>
Sat, 26 Feb 2011 05:39:39 +0000 (05:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 26 Feb 2011 05:39:39 +0000 (05:39 +0000)
commit8e10f3b9cc1db43645bbc2999eb163af8997d468
treec568c54b4602aac488863782ff687051f7277aee
parentdff3f018e0bf93a08f135954a5771bfe664a7744
Provide a bit saying that a builtin undergoes custom type-checking, then
don't let calls to such functions go down the normal type-checking path.
Test this out with __builtin_classify_type and __builtin_constant_p.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126539 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
include/clang/Basic/Builtins.h
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExpr.cpp