]> granicus.if.org Git - clang/commit
Various parts of the standard require something to be an "incomplete or
authorChris Lattner <sabre@nondot.org>
Wed, 2 Apr 2008 06:59:01 +0000 (06:59 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 2 Apr 2008 06:59:01 +0000 (06:59 +0000)
commitd805bec0fbb98aa10abbb41bfdcb2e2fab1bac96
treebb0286daad067b2609b59978cadd86bcabe315f2
parent96b77fc05ed4a052a9e614f72b0e83572408ce48
Various parts of the standard require something to be an "incomplete or
object type".  Add a predicate that checks exactly this, as it is equivalent
to checking ot see if the type is *not* a function type, which is faster
to check.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49082 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp