forked from OSchip/llvm-project
Removed pending TODOs after resolving them with help of the clang folks and the discussion list.
llvm-svn: 109802
This commit is contained in:
parent
d9624e2d2e
commit
76a5cce6c0
|
|
@ -2601,14 +2601,8 @@ ClangASTContext::CreatePointerType (void *clang_type)
|
|||
{
|
||||
case clang::Type::ObjCObject:
|
||||
case clang::Type::ObjCInterface:
|
||||
// TODO: find out if I need to make a pointer or objc pointer for "clang::Type::ObjCObjectPointer" types
|
||||
//case clang::Type::ObjCObjectPointer:
|
||||
return getASTContext()->getObjCObjectPointerType(qual_type).getAsOpaquePtr();
|
||||
|
||||
// TODO: can we detect if this type is a block type?
|
||||
// case clang::Type::BlockType:
|
||||
// return getASTContext()->getBlockPointerType(qual_type).getAsOpaquePtr();
|
||||
|
||||
default:
|
||||
return getASTContext()->getPointerType(qual_type).getAsOpaquePtr();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue