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

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 31 03:22:09 PDT 2022


DavidSpickett added inline comments.


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


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