https://github.com/mizvekov commented:
Is this simply because we haven't set the DefinitionData's Definition member yet before calling `bases`? I'd try to fix that race condition instead. The reason `bases` depends on the definition is a bit silly really, it just needs to get the ASTContext and any declaration in the program would do here. https://github.com/llvm/llvm-project/pull/199403 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
