[Lldb-commits] [lldb] [lldb] Mark enum types as scalar in clang typesystem (PR #192711)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 13 03:40:37 PDT 2026


================
@@ -3202,7 +3202,7 @@ lldb::ValueObjectSP ValueObject::CastToBasicType(CompilerType type) {
   }
 
   if (type.IsInteger()) {
-    if (!is_scalar || is_integer) {
+    if ((is_enum && is_scalar) || !is_scalar || is_integer) {
----------------
Teemperor wrote:

`running expression such as +SomeEnum` -> I assume this refers to DIL expressions, and not real expressions?

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


More information about the lldb-commits mailing list