aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-16 20:19:15 +0000
committerChris Lattner <sabre@nondot.org>2008-03-16 20:19:15 +0000
commitc858105d41602a2dadb2efbc1af80a7b791ebac3 (patch)
tree3f2bc9d3680e813b3d64a07f840977cc6870b93b /lib/AST/DeclObjC.cpp
parent439e71f4be0148101281f72f10c9f8bf743e78bd (diff)
minor cleanups, make getNumInstanceMethods always return unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r--lib/AST/DeclObjC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp
index 17b1d28cad..62336b67bd 100644
--- a/lib/AST/DeclObjC.cpp
+++ b/lib/AST/DeclObjC.cpp
@@ -49,10 +49,9 @@ ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, SourceLocation L,
ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, SourceLocation L,
unsigned numRefProtos,
- IdentifierInfo *Id,
- bool ForwardDecl) {
+ IdentifierInfo *Id) {
void *Mem = C.getAllocator().Allocate<ObjCProtocolDecl>();
- return new (Mem) ObjCProtocolDecl(L, numRefProtos, Id, ForwardDecl);
+ return new (Mem) ObjCProtocolDecl(L, numRefProtos, Id);
}