[Lldb-commits] [PATCH] D100447: [lldb] Silence GCC warnings about control reaching the end of non-void functions. NFC.

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 14 00:16:01 PDT 2021


dblaikie added a comment.

I'm guessing this change will break the build in a different way, triggering clang's -Wcovered-switch-default - the usual way this gcc/clang diagnostic pinch is resolved is by putting the unreachable after the switch/at the end of the function, instead of in a default case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100447



More information about the lldb-commits mailing list