зеркало из https://github.com/microsoft/clang-1.git
improve comments yet again, now I know what this does :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
0b6d1e6070
Коммит
b49b572aa3
|
@ -27,7 +27,9 @@ bool Sema::isBuiltinObjCType(TypedefDecl *TD) {
|
|||
}
|
||||
|
||||
/// isObjCObjectPointerType - Returns true if type is an Objective-C pointer
|
||||
/// to an object type; such as "id", "Class", Intf*, id<P>, etc.
|
||||
/// to an object type. This includes "id" and "Class" (two 'special' pointers
|
||||
/// to struct), Interface* (pointer to ObjCInterfaceType) and id<P> (qualified
|
||||
/// ID type).
|
||||
bool Sema::isObjCObjectPointerType(QualType Ty) const {
|
||||
if (Ty->isObjCQualifiedIdType())
|
||||
return true;
|
||||
|
|
|
@ -345,8 +345,10 @@ private:
|
|||
/// or "Protocol".
|
||||
bool isBuiltinObjCType(TypedefDecl *TD);
|
||||
|
||||
/// isObjCObjectPointerType - Returns true if type is an objective-c pointer
|
||||
/// to an object type; such as "id", "Class", Intf*, id<P>, etc.
|
||||
/// isObjCObjectPointerType - Returns true if type is an Objective-C pointer
|
||||
/// to an object type. This includes "id" and "Class" (two 'special' pointers
|
||||
/// to struct), Interface* (pointer to ObjCInterfaceType) and id<P> (qualified
|
||||
/// ID type).
|
||||
bool isObjCObjectPointerType(QualType type) const;
|
||||
|
||||
/// AddInstanceMethodToGlobalPool - All instance methods in a translation
|
||||
|
|
Загрузка…
Ссылка в новой задаче