]> granicus.if.org Git - clang/commit
Add Type::hasPointerRepresentation predicate.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 26 Feb 2009 20:52:22 +0000 (20:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 26 Feb 2009 20:52:22 +0000 (20:52 +0000)
commit8958891f5fa1e593c4519a36b3df427ee019d70b
treef57fc5020048e30615e3ed3a817d5a8ffe148af3
parent3daea0a051d90f8ff660a6392f0112a0e78e6dba
Add Type::hasPointerRepresentation predicate.
 - For types whose native representation is a pointer.

 - Use to replace ExprConstant.cpp:HasPointerEvalType,
   CodeGenFunction::isObjCPointerType.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65569 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/ExprConstant.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h