diff options
author | Steve Naroff <snaroff@apple.com> | 2008-04-11 19:35:35 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-04-11 19:35:35 +0000 |
commit | d6a07aaf62b40cdfbd96f6b874d02b06fc22d015 (patch) | |
tree | 0d16a3586f7858fabd5c32c0f97a76b06eb6e6d1 /lib/Sema/Sema.cpp | |
parent | bcf50ad8c7248c6d371b4d300e40daf46c06fa39 (diff) |
Add class and super class location info to ObjCInterfaceDecl...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index a0d4ff7995..92858726b4 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -112,7 +112,8 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer) // Synthesize "@class Protocol; ObjCInterfaceDecl *ProtocolDecl = ObjCInterfaceDecl::Create(Context, SourceLocation(), 0, - &Context.Idents.get("Protocol"), true); + &Context.Idents.get("Protocol"), + SourceLocation(), true); Context.setObjCProtoType(Context.getObjCInterfaceType(ProtocolDecl)); // Synthesize "typedef struct objc_object { Class isa; } *id;" |