================
@@ -633,17 +637,24 @@ void LookupResult::resolveKind() {
     getSema().diagnoseEquivalentInternalLinkageDeclarations(
         getNameLoc(), HasNonFunction, EquivalentNonFunctions);
 
+  if ((HasNonFunction && (HasFunction || HasUnresolved)) ||
----------------
PiJoules wrote:

Done. I didn't originally add these lines since they were just moved from a few 
lines below, but I split up the logic and added comments describing it to the 
best of my understanding.

https://github.com/llvm/llvm-project/pull/167646
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to