diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 20:52:22 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 20:52:22 +0000 |
commit | 8958891f5fa1e593c4519a36b3df427ee019d70b (patch) | |
tree | f57fc5020048e30615e3ed3a817d5a8ffe148af3 /lib/CodeGen/CodeGenFunction.h | |
parent | 3daea0a051d90f8ff660a6392f0112a0e78e6dba (diff) |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 8b5986c471..918646f955 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -366,10 +366,6 @@ public: /// TypeOfSelfObject - Return type of object that this self represents. QualType TypeOfSelfObject(); - /// isObjCPointerType - Return true if the specificed AST type will map onto - /// some Objective-C pointer type. - static bool isObjCPointerType(QualType T); - /// hasAggregateLLVMType - Return true if the specified AST type will map into /// an aggregate LLVM type or is void. static bool hasAggregateLLVMType(QualType T); |