================
@@ -208,6 +208,16 @@ class CodeGenOptions : public CodeGenOptionsBase {
               ///< larger debug info than `Basic`.
   };
 
+  enum BoolFromMem {
+    Strict,   ///< In-memory bool values are assumed to be 0 or 1, and any 
other
----------------
apple-fcloutier wrote:

I will change it. This was my original implementation before noticing the 3 
enums before it.

```
  enum FiniteLoopsKind {
    Language, // Not specified, use language standard.
    Always,   // All loops are assumed to be finite.
    Never,    // No loop is assumed to be finite.
  };

  enum AssignmentTrackingOpts {
    Disabled,
    Enabled,
    Forced,
  };

  enum SanitizeDebugTrapReasonKind {
    None,  ///< Trap Messages are omitted. This offers the smallest debug info
           ///< size but at the cost of making traps hard to debug.
    Basic, ///< Trap Message is fixed per SanitizerKind. Produces smaller debug
           ///< info than `Detailed` but is not as helpful for debugging.
    Detailed, ///< Trap Message includes more context (e.g. the expression being
              ///< overflowed). This is more helpful for debugging but produces
              ///< larger debug info than `Basic`.
  };
```

https://github.com/llvm/llvm-project/pull/160790
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to