================
@@ -13443,9 +13499,9 @@ Sema::resolveAddressOfSingleOverloadCandidate(Expr *E, 
DeclAccessPair &Pair) {
     return nullptr;
 
   if (Result) {
-    SmallVector<const Expr *, 1> ResultAC;
     // We skipped over some ambiguous declarations which might be ambiguous 
with
     // the selected result.
+    // FIXME: This for-loop is dead code. Remove it?
----------------
erichkeane wrote:

Hmm... perhaps this was supposed to be higher? in the code?  I'm concerned 
about it, but if no tests fail, then I think we have to go with it.  Just kill 
the loop.

https://github.com/llvm/llvm-project/pull/127773
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to