diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-24 00:56:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-24 00:56:23 +0000 |
commit | c4c429a1a5947ba9be64d3070741d98362872265 (patch) | |
tree | c1731652650e633cefc612540f94d89693916fba /CodeGen/CodeGenFunction.h | |
parent | 0e63f6b436dde5539723b005242a8a032fcd5332 (diff) |
Constify methods and reuse RecordOrganizer object.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index c14687e07e..5980e51f47 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -299,7 +299,7 @@ public: void StartBlock(const char *N); /// getRecordLayoutInfo - Return record layout info. - RecordLayoutInfo *getRecordLayoutInfo(CodeGenTypes &CGT, QualType RTy); + const RecordLayoutInfo *getRecordLayoutInfo(CodeGenTypes &CGT, QualType RTy); //===--------------------------------------------------------------------===// // Declaration Emission //===--------------------------------------------------------------------===// |