On Fri, Jan 22, 2016 at 08:26:30PM -0000, Saleem Abdulrasool via lldb-commits 
wrote:
> Author: compnerd
> Date: Fri Jan 22 14:26:30 2016
> New Revision: 258546
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=258546&view=rev
> Log:
> Silence -Wreturn-type warnings
> 
> Address a couple of instances of -Wreturn-type warning from GCC.  The switches
> are covered, add an llvm_unreachable to the end of the functions to silence 
> the
> warning.  NFC.

Huh? This is wrong. A switch with a default branch should never trigger
a fall through waring.

Joerg
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to