[llvm-branch-commits] [clang] [clang][HeuristicResolver] Additional hardening against an infinite loop in simplifyType() (PR #126690)

Nathan Ridge via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 10 23:10:03 PST 2025


HighCommander4 wrote:

This is not needed to fix https://github.com/llvm/llvm-project/issues/126536 (https://github.com/llvm/llvm-project/pull/126689 does that), it's a hedge against additional bugs that may be lurking that cause infinite loops.

I'm open to suggestions as to whether this is a good idea. It may hide some bugs, but the symptoms of those bugs are much less severe (incorrect or failed heuristic resolution of a dependent name in a template) than an infinite loop.

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


More information about the llvm-branch-commits mailing list