[clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 23 14:02:29 PDT 2025


mizvekov wrote:

> Additionally, just for some namespace sanity (especially from the perspective of Linux's use of OBTs), can we have the type specifier named "__ob_$behavior": __ob_wrap, __ob_trap ? That would make things a bit cleaner for Linux's resulting macros for OBT usage to de-conflict possible namespace collisions there...

The type specifier is optional, you can still use the attribute syntax here, so if you are hiding this behind macros anyway, might as well just use that spelling instead? Unless I have misunderstood.

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


More information about the cfe-commits mailing list