Patch for method implementation. It populates ObjcImplementationDecl object with method implementation declarations .
It checks and warns on those methods declared in class interface and not implemented.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42412 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Parse/Parser.cpp b/Parse/Parser.cpp
index b9bcc92..362ca35 100644
--- a/Parse/Parser.cpp
+++ b/Parse/Parser.cpp
@@ -23,6 +23,7 @@
NumCachedScopes = 0;
ParenCount = BracketCount = BraceCount = 0;
ObjcImpDecl = 0;
+ AllImplMethods.clear();
}
/// Out-of-line virtual destructor to provide home for Action class.