[cfe-commits] r107305 - /cfe/trunk/lib/Sema/SemaOverload.cpp
sebastian.redl at getdesigned.at
Wed Jun 30 11:42:54 PDT 2010
On 06/30/2010 08:36 PM, Eric Christopher wrote:
> Author: echristo
> Date: Wed Jun 30 13:36:32 2010
> New Revision: 107305
> URL: http://llvm.org/viewvc/llvm-project?rev=107305&view=rev
> Add a return to silence a warning. Alternately a default: return false
> would work.
> Sebastian: figure out which one you want :)
GCC is confused; the switch is complete on OverloadResult, so what we
really want is an llvm_unreachable. (Is that used in Clang?)
But the return false will do.
More information about the cfe-commits