[PATCH] D103565: Fix "control reaches end of non-void function" warnings on ppc64le

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 2 17:18:02 PDT 2021


ymandel added a comment.

Actually, the removal of the default case in the switch gives this warning:
...llvm-project/clang/lib/ASTMatchers/GtestMatchers.cpp:102:11: warning: enumeration value 'Assert' not handled in switch [-Wswitch]

I'll reinstate the default case before comitting the patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103565



More information about the cfe-commits mailing list