[clang] [Clang]fix dependent qualified base member lookup crash (PR #199403)

via cfe-commits cfe-commits at lists.llvm.org
Sun May 24 22:36:20 PDT 2026


Serosh-commits wrote:

> 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.

thanks for ur thoughts on this really liked it i have applied ur approach let me know if i am lacking anywhere 

https://github.com/llvm/llvm-project/pull/199403


More information about the cfe-commits mailing list