summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-17 18:09:05 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-17 18:09:05 +0000
commitd53ae83516a1005f91e111ce309e17bfac540637 (patch)
tree5e89604c271ee44842663eb7947de3a07b2d0a21 /clang/lib/AST/DeclObjC.cpp
parent41b9ddeb7ab6e4e7166379c2518bd59edb4676ec (diff)
downloadbcm5719-llvm-d53ae83516a1005f91e111ce309e17bfac540637.tar.gz
bcm5719-llvm-d53ae83516a1005f91e111ce309e17bfac540637.zip
Delay the creation of the built-in Objective-C class 'Protocol' by
moving it from a "special type" to a predefined declaration, as we do for id, Class, and SEL. llvm-svn: 148313
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 6a3bdfd4bb4..2b97cf56861 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -682,7 +682,7 @@ ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
// ObjCInterfaceDecl
//===----------------------------------------------------------------------===//
-ObjCInterfaceDecl *ObjCInterfaceDecl::Create(ASTContext &C,
+ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C,
DeclContext *DC,
SourceLocation atLoc,
IdentifierInfo *Id,
OpenPOWER on IntegriCloud