[clang] [AST] Assert that FoldingSetNodeID used for hint is correct upon insertion (PR #157692)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 9 09:16:57 PDT 2025


mizvekov wrote:

I think having to call a separate thing at every use site is a bit prone to error. Can't we just check this at `InsertNode` instead?

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


More information about the cfe-commits mailing list