daniel-petrovic wrote:

FinishTemplateArgumentDeduction already checks Inst.isInvalid() after 
construction. SO during ADL occurs before reaching the instantiation-depth 
limit by recursive traversal of nested template argument types.

 But I noticed that addAssociatedClassesAndNameSpaces  already uses a type 
queue list for function param types, so I try to extend it to template arg 
types. With this change the the instantiation depth limit is reported, instead 
of overflowing.


https://github.com/llvm/llvm-project/pull/242618
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to