Author: andersca
Date: Thu Sep  2 19:51:09 2010
New Revision: 112927

URL: http://llvm.org/viewvc/llvm-project?rev=112927&view=rev
Log:
Remove now unused function.

Modified:
    cfe/trunk/lib/Sema/SemaType.cpp

Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaType.cpp?rev=112927&r1=112926&r2=112927&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaType.cpp (original)
+++ cfe/trunk/lib/Sema/SemaType.cpp Thu Sep  2 19:51:09 2010
@@ -1824,14 +1824,6 @@
   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) {


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to