[clang] [clang] Fix conflicting declaration error with using_if_exists (PR #167646)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 10:52:54 PDT 2026
================
@@ -633,17 +637,24 @@ void LookupResult::resolveKind() {
getSema().diagnoseEquivalentInternalLinkageDeclarations(
getNameLoc(), HasNonFunction, EquivalentNonFunctions);
+ if ((HasNonFunction && (HasFunction || HasUnresolved)) ||
----------------
erichkeane wrote:
Ah, didn't put that together. Thank you, I think that comment/split up is great. Appreciated!
https://github.com/llvm/llvm-project/pull/167646
More information about the cfe-commits
mailing list