aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-21 04:13:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-21 04:13:07 +0000
commitf2c737c5b89e5ba3e2a64595930ab894df206bd2 (patch)
tree52f3073b65ed5c5837fd49b5a008e1822e6fc37b /lib/CodeGen/CodeGenFunction.h
parent76695ca7ae85f164865c3650ca44720217aa78b3 (diff)
CodeGenFunction: Eliminate unused MakeQualifiers() function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 5030553358..603d309e63 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -969,12 +969,6 @@ public:
// 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());
}