[cfe-commits] r51924 - /cfe/trunk/lib/Sema/Sema.cpp
Steve Naroff
snaroff at apple.com
Tue Jun 3 20:03:48 PDT 2008
Author: snaroff
Date: Tue Jun 3 22:03:48 2008
New Revision: 51924
URL: http://llvm.org/viewvc/llvm-project?rev=51924&view=rev
Log:
Give the "isa" slot a name!
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=51924&r1=51923&r2=51924&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Tue Jun 3 22:03:48 2008
@@ -120,7 +120,8 @@
RecordDecl::Create(Context, Decl::Struct, TUDecl,
SourceLocation(),
&IT.get("objc_object"), 0);
- FieldDecl *IsaDecl = FieldDecl::Create(Context, SourceLocation(), 0,
+ FieldDecl *IsaDecl = FieldDecl::Create(Context, SourceLocation(),
+ &Context.Idents.get("isa"),
Context.getObjCClassType());
ObjectTag->defineBody(&IsaDecl, 1);
QualType ObjT = Context.getPointerType(Context.getTagDeclType(ObjectTag));
More information about the cfe-commits
mailing list