diff options
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 20c909a8ea..92439ff0da 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1824,14 +1824,6 @@ static void HandleObjCGCTypeAttribute(QualType &Type, Type = S.Context.getObjCGCQualType(Type, GCAttr); } -static QualType GetResultType(QualType T) { - if (const PointerType *PT = T->getAs<PointerType>()) - T = PT->getPointeeType(); - else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) - T = BT->getPointeeType(); - return T->getAs<FunctionType>()->getResultType(); -} - /// Process an individual function attribute. Returns true if the /// attribute does not make sense to apply to this type. bool ProcessFnAttr(Sema &S, QualType &Type, const AttributeList &Attr) { |