[clang] [clang] use getDeclName in static assert failed boolean condition printer (PR #203736)

Fan Mo via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 28 21:50:21 PDT 2026


w007878 wrote:

@cor3ntin @erichkeane mind taking a look when you got a chance? This is a one-line fix for #203701 (getName() → getDeclName() so static_assert failure printing doesn't assert on names like operator int). 
I have a question btw: should the print helper stay in SemaTemplate.cpp or move somewhere more general? Happy to refactor. Thanks!

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


More information about the cfe-commits mailing list