[Lldb-commits] [PATCH] D65386: [lldb][NFC] Use an enum instead of chars when handling options [WIP]

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 29 07:37:03 PDT 2019


teemperor added a comment.

For the sake of completeness, that's how Clang would warn about unimplemented options:

  llvm-project/lldb/source/Commands/CommandObjectSettings.cpp:102:15: warning: enumeration value 'Global' not handled in switch [-Wswitch]
        switch (*opt) {
                ^
  llvm-project/lldb/source/Commands/CommandObjectSettings.cpp:102:15: note: add missing switch cases
        switch (*opt) {
                ^


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D65386





More information about the lldb-commits mailing list