================
@@ -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
----------------
erichkeane wrote:

This probably should be a scoped enum, else these names are in the outer name 
space. These names are way too generic to be in a normal enum (that is, either 
make this an `enum class`, or give these some sort of `ugly` prefix, VAST 
preference for the former).

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