================
@@ -26,13 +26,16 @@ bool MultipleInheritanceCheck::isInterface(const
CXXBaseSpecifier &Base) {
if (!Node)
return true;
- assert(Node->isCompleteDefinition());
+ if (!Node->hasDefinition())
----------------
zeyi2 wrote:
```suggestion
if (!Node || !Node->hasDefinition())
return true;
```
Since the check already treats an unresolvable base as non-concrete, could we
also treat a base whose definition is unavailable the same way?
https://github.com/llvm/llvm-project/pull/219781
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits