]> granicus.if.org Git - clang/commitdiff
Fixes a typo in my last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 25 Aug 2011 18:01:27 +0000 (18:01 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 25 Aug 2011 18:01:27 +0000 (18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclObjC.cpp

index 0aea7392224ee60531402a4c0d4441ea9b5aa7df..8768236b1fccfc430ffae38c8cad76648d1a8a6a 100644 (file)
@@ -1715,7 +1715,7 @@ Sema::ActOnForwardClassDeclaration(SourceLocation AtClassLoc,
     DeclsInGroup.push_back(CDecl);
   }
   
-  return BuildDeclaratorGroup(DeclsInGroup.data(), 1, false);
+  return BuildDeclaratorGroup(DeclsInGroup.data(), DeclsInGroup.size(), false);
 }
 
 static bool tryMatchRecordTypes(ASTContext &Context,