summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-17 03:57:07 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-17 03:57:07 +0000
commitcfd3012756054249edde121a2d58a3e5481089ee (patch)
tree09627465061efc9d4929e09fd4dd7888a8daadfb /clang/lib/CodeGen/CodeGenFunction.h
parentaafa1425e93980c3cbba5ed220d91d2e93b32c17 (diff)
downloadbcm5719-llvm-cfd3012756054249edde121a2d58a3e5481089ee.tar.gz
bcm5719-llvm-cfd3012756054249edde121a2d58a3e5481089ee.zip
More const is always good.
llvm-svn: 89033
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index d0f184fc6f7..44561473100 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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);
OpenPOWER on IntegriCloud