objc object type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45709
91177308-0d34-0410-b5e6-
96231b3b80d8
type->isObjcQualifiedIdType())
return true;
- while (type->isPointerType()) {
+ if (type->isPointerType()) {
PointerType *pointerType = static_cast<PointerType*>(type.getTypePtr());
type = pointerType->getPointeeType();
}
for (id el in self)
++i;
MyList<P> ***p;
- for (p in self)
+ for (p in self) // expected-error {{selector element is not of valid object type (its type is 'MyList<P> ***')}}
++i;
}