aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 0d82e32861..2ba6b8ddcc 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -223,6 +223,12 @@ public:
// LValue Expression Emission
//===--------------------------------------------------------------------===//
+ /// EmitUnsupportedLValue - Emit a dummy l-value using the type of E
+ /// and issue an ErrorUnsupported style diagnostic (using the
+ /// provided Name).
+ LValue EmitUnsupportedLValue(const Expr *E,
+ const char *Name);
+
/// EmitLValue - Emit code to compute a designator that specifies the location
/// of the expression.
///