diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-17 03:57:07 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-17 03:57:07 +0000 |
commit | 0ed303c918915cbe2c611cddbfabd00404664831 (patch) | |
tree | e8e5018dbdf071e186fdf6f578437f741942a9d7 /lib/CodeGen/CodeGenFunction.h | |
parent | 6a45c2bffc9b73290aad3041595b3e662b690bdc (diff) |
More const is always good.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index d0f184fc6f..4456147310 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -844,13 +844,13 @@ public: llvm::Value *EmitIvarOffset(const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); - LValue EmitLValueForField(llvm::Value* Base, FieldDecl* Field, + LValue EmitLValueForField(llvm::Value* Base, const FieldDecl* Field, bool isUnion, unsigned CVRQualifiers); LValue EmitLValueForIvar(QualType ObjectTy, llvm::Value* Base, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers); - LValue EmitLValueForBitfield(llvm::Value* Base, FieldDecl* Field, + LValue EmitLValueForBitfield(llvm::Value* Base, const FieldDecl* Field, unsigned CVRQualifiers); LValue EmitBlockDeclRefLValue(const BlockDeclRefExpr *E); |