When a dependent Objective-C++ message send was able to resolve the
method being called at template definition time, retain that method
and pass it through to type-checking. We will not perform any lookup
for the method during template instantiation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102081 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 39351bb..6b8aca9 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -3886,6 +3886,7 @@
                                      QualType ReceiverType,
                                      SourceLocation SuperLoc,
                                      Selector Sel,
+                                     ObjCMethodDecl *Method,
                                      SourceLocation LBracLoc, 
                                      SourceLocation RBracLoc,
                                      MultiExprArg Args);
@@ -3902,6 +3903,7 @@
                                         QualType ReceiverType,
                                         SourceLocation SuperLoc,
                                         Selector Sel,
+                                        ObjCMethodDecl *Method,
                                         SourceLocation LBracLoc, 
                                         SourceLocation RBracLoc,
                                         MultiExprArg Args);