[Lldb-commits] [lldb] r109795 - /lldb/trunk/source/Symbol/ClangASTContext.cpp

Eli Friedman eli.friedman at gmail.com
Thu Jul 29 13:34:05 PDT 2010


On Thu, Jul 29, 2010 at 1:06 PM, Greg Clayton <gclayton at apple.com> wrote:
> +        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();

AFAIK, a pointer to an ObjC pointer is just a regular pointer.

> +        // TODO: can we detect if this type is a block type?
> +//      case clang::Type::BlockType:
> +//          return getASTContext()->getBlockPointerType(qual_type).getAsOpaquePtr();

There is no such thing as a block type; block pointers can't be
dereferenced, only called.

-Eli




More information about the lldb-commits mailing list