aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-05 07:09:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-05 07:09:07 +0000
commit13e81737a433b23f8c662d10d1d57356122a8caa (patch)
treedf3ed60c11fcabe626185f2591271de28acfa9fd /lib/CodeGen/CodeGenFunction.h
parent026c66395b88a09437319139a43b090093f7e1dd (diff)
Pull CodeGenFunction::GetUndefRValue() out of EmitUnsupportedRValue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index ab145d7a1e..bf27d0acea 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -450,6 +450,9 @@ public:
// LValue Expression Emission
//===--------------------------------------------------------------------===//
+ /// GetUndefRValue - Get an appropriate 'undef' rvalue for the given type.
+ RValue GetUndefRValue(QualType Ty);
+
/// EmitUnsupportedRValue - Emit a dummy r-value using the type of E
/// and issue an ErrorUnsupported style diagnostic (using the
/// provided Name).