aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-13 05:18:11 +0000
committerChris Lattner <sabre@nondot.org>2007-07-13 05:18:11 +0000
commitb0a721a51a85b7b1ea9b33dbe12f4a58232590e2 (patch)
tree82d020b386ab5939065f15548dcf4010040dfe20 /CodeGen/CodeGenFunction.h
parent88a69ad80e1550e9932666e6efa050a5b1223889 (diff)
"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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r--CodeGen/CodeGenFunction.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h
index 268a70276a..7a07f252bb 100644
--- a/CodeGen/CodeGenFunction.h
+++ b/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