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

This `if` statement is pretty mind-bending.  Can we extract variables/etc to 
make this more clear what is going on?  Either way it desperately needs a 
comment.

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