[Lldb-commits] [PATCH] D137045: [lldb] Don't crash when printing static enum members with bool as underlying type

Arthur Eubanks via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 31 10:21:04 PDT 2022


aeubanks added inline comments.


================
Comment at: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:7612
+              ->getIntegerType()
+              ->isSpecificBuiltinType(BuiltinType::Bool)) &&
          "only boolean supported");
----------------
DavidSpickett wrote:
> Can you call `TypeSystemClang::IsBooleanType` from here instead?
better?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137045/new/

https://reviews.llvm.org/D137045



More information about the lldb-commits mailing list