From 6e9d9b350e7573b4baceeafe92ea99f11d215d8f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Jul 2007 05:18:11 +0000 Subject: "Codegen for Character Literals and Conditional Operator Both in one patch, and the test case that Chris didn't commit last time is in there too... I'll split the patch up if somebody wants it split." Patch by Keith Bauer. llvm-svn: 39796 --- clang/CodeGen/CodeGenFunction.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'clang/CodeGen/CodeGenFunction.h') diff --git a/clang/CodeGen/CodeGenFunction.h b/clang/CodeGen/CodeGenFunction.h index 268a70276a7..7a07f252bb0 100644 --- a/clang/CodeGen/CodeGenFunction.h +++ b/clang/CodeGen/CodeGenFunction.h @@ -46,12 +46,14 @@ namespace clang { class StringLiteral; class IntegerLiteral; class FloatingLiteral; + class CharacterLiteral; class CastExpr; class CallExpr; class UnaryOperator; class BinaryOperator; class CompoundAssignOperator; class ArraySubscriptExpr; + class ConditionalOperator; class BlockVarDecl; class EnumConstantDecl; @@ -309,7 +311,8 @@ public: RValue EmitExpr(const Expr *E); RValue EmitIntegerLiteral(const IntegerLiteral *E); RValue EmitFloatingLiteral(const FloatingLiteral *E); - + RValue EmitCharacterLiteral(const CharacterLiteral *E); + RValue EmitCastExpr(const CastExpr *E); RValue EmitCallExpr(const CallExpr *E); RValue EmitArraySubscriptExprRV(const ArraySubscriptExpr *E); @@ -351,6 +354,9 @@ public: RValue EmitBinaryAssign(const BinaryOperator *E); RValue EmitBinaryComma(const BinaryOperator *E); + + // Conditional Operator. + RValue EmitConditionalOperator(const ConditionalOperator *E); }; } // end namespace CodeGen } // end namespace clang -- cgit v1.2.3