summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-04-11 19:35:35 +0000
committerSteve Naroff <snaroff@apple.com>2008-04-11 19:35:35 +0000
commit5a4611cdda5d9140412f5935d694858ff0307611 (patch)
tree3b10b2c4d18fc4721727ea71071a13131e8f6ce5 /clang/lib/Sema/Sema.cpp
parent988990f8426958e3e1ea85d5e341a07966c7c405 (diff)
downloadbcm5719-llvm-5a4611cdda5d9140412f5935d694858ff0307611.tar.gz
bcm5719-llvm-5a4611cdda5d9140412f5935d694858ff0307611.zip
Add class and super class location info to ObjCInterfaceDecl...
llvm-svn: 49553
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index a0d4ff79956..92858726b48 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/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;"
OpenPOWER on IntegriCloud