diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-20 22:37:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-20 22:37:10 +0000 |
commit | 7016a706c9fab0d7c1603e424c61abbff9077037 (patch) | |
tree | b15513d09afa883cd6da6f36be7e0778643e20df /CodeGen/CodeGenFunction.h | |
parent | 28a7ca80da5dd2d0fca75d9a3b7a5f4851712592 (diff) |
Fix array->pointer decay. This unbreaks test/CodeGen/array.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index 5f78a33738..f233108dbd 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -50,6 +50,7 @@ namespace clang { class CharacterLiteral; class TypesCompatibleExpr; + class ImplicitCastExpr; class CastExpr; class CallExpr; class UnaryOperator; @@ -350,6 +351,7 @@ public: RValue EmitCharacterLiteral(const CharacterLiteral *E); RValue EmitTypesCompatibleExpr(const TypesCompatibleExpr *E); + RValue EmitImplicitCastExpr(const ImplicitCastExpr *Op); RValue EmitCastExpr(const Expr *Op, QualType DestTy); RValue EmitCallExpr(const CallExpr *E); RValue EmitBuiltinExpr(unsigned builtinID, const CallExpr *E); |