[cfe-commits] r111725 - /cfe/trunk/lib/CodeGen/CodeGenFunction.h

Daniel Dunbar daniel at zuster.org
Fri Aug 20 21:13:07 PDT 2010


Author: ddunbar
Date: Fri Aug 20 23:13:07 2010
New Revision: 111725

URL: http://llvm.org/viewvc/llvm-project?rev=111725&view=rev
Log:
CodeGenFunction: Eliminate unused MakeQualifiers() function.

Modified:
    cfe/trunk/lib/CodeGen/CodeGenFunction.h

Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.h?rev=111725&r1=111724&r2=111725&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.h Fri Aug 20 23:13:07 2010
@@ -969,12 +969,6 @@
   //                                  Helpers
   //===--------------------------------------------------------------------===//
 
-  Qualifiers MakeQualifiers(QualType T) {
-    Qualifiers Quals = getContext().getCanonicalType(T).getQualifiers();
-    Quals.setObjCGCAttr(getContext().getObjCGCAttrKind(T));
-    return Quals;
-  }
-
   LValue MakeAddrLValue(llvm::Value *V, QualType T) {
     return LValue::MakeAddr(V, T, 0, getContext());
   }





More information about the cfe-commits mailing list