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

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 14:16:31 PDT 2025


================
@@ -359,6 +366,16 @@ class DeclSpec {
   LLVM_PREFERRED_TYPE(TQ)
   unsigned TypeQualifiers : 5;  // Bitwise OR of TQ.
 
+  // overflow behavior qualifiers
+  LLVM_PREFERRED_TYPE(bool)
----------------
ojhunt wrote:

@mizvekov so would I but there are so many non-enum classes I'm still not sure which is preferred - if enum classes are permitted that's perfect

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


More information about the cfe-commits mailing list