diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-15 21:58:08 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-15 21:58:08 +0000 |
| commit | 48ee65856259b41aa9296f676394a9540a5bb728 (patch) | |
| tree | 72d0cc04c1d97198aaf68390780735a61b2228a8 /clang/lib/CodeGen | |
| parent | 590b10dba2fa7640e278c2f46a38f4b6463c4a4c (diff) | |
| download | bcm5719-llvm-48ee65856259b41aa9296f676394a9540a5bb728.tar.gz bcm5719-llvm-48ee65856259b41aa9296f676394a9540a5bb728.zip | |
Name of addLayoutToClass is confusing as no layout calculation
is done. Layout is calculated lazily at code gen type.
This patch changes the name.
llvm-svn: 61054
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenTypes.cpp b/clang/lib/CodeGen/CodeGenTypes.cpp index 3470cca4d15..10b1e15ae39 100644 --- a/clang/lib/CodeGen/CodeGenTypes.cpp +++ b/clang/lib/CodeGen/CodeGenTypes.cpp @@ -277,7 +277,7 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) { if(!RD) { // Sometimes, class type is being directly generated in code gen for // built-in class types. - ID->addLayoutToClass(Context); + ID->addRecordToClass(Context); RD = ID->getRecordForDecl(); } return ConvertTagDeclType(cast<TagDecl>(RD)); |

