[Lldb-commits] [lldb] [LLDB] Add unary plus and minus to DIL (PR #155617)
Ilia Kuklin via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 17 10:13:32 PDT 2025
================
@@ -412,6 +412,13 @@ class TypeSystem : public PluginInterface,
GetIntegralTemplateArgument(lldb::opaque_compiler_type_t type, size_t idx,
bool expand_pack);
+ // DIL
+
+ virtual bool IsPromotableIntegerType(lldb::opaque_compiler_type_t type);
+
+ virtual llvm::Expected<CompilerType>
+ DoIntegralPromotion(CompilerType from, ExecutionContextScope *exe_scope);
----------------
kuilpd wrote:
I'm not really sure what to write here, since the semantics is dependent on the type system. I wrote a general idea for C++, but I suspect that for Swift this might do opposite things, like not promoting integers at all and returning an error for Bool.
https://github.com/llvm/llvm-project/pull/155617
More information about the lldb-commits
mailing list