[Lldb-commits] [PATCH] D134244: [NFCI] Clean up enum FormatCategoryItem.

Jorge Gorbe Moya via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 20 10:45:43 PDT 2022


jgorbe marked an inline comment as done.
jgorbe added inline comments.


================
Comment at: lldb/include/lldb/lldb-private-enumerations.h:131-134
   eFormatCategoryItemSummary = 0x0001,
-  eFormatCategoryItemRegexSummary = 0x0002,
   eFormatCategoryItemFilter = 0x0004,
-  eFormatCategoryItemRegexFilter = 0x0008,
   eFormatCategoryItemSynth = 0x0010,
+  eFormatCategoryItemFormat = 0x0040,
----------------
JDevlieghere wrote:
> As these are private we don't have to skip values I think. Also let's use left shift operators to make it more obvious that these are flags.
Done, thanks! :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134244



More information about the lldb-commits mailing list