[swift-dev] CoerceAndExpand switch warnings after latest clang/llvm stable merge
John McCall
rjmccall at apple.com
Mon Apr 4 17:04:39 CDT 2016
> On Apr 4, 2016, at 3:02 PM, David Farler via swift-dev <swift-dev at swift.org> wrote:
> Just a heads up - the latest stable merge exposed a couple of switch warnings:
>
> swift/lib/IRGen/GenFunc.cpp:1338:13: warning: enumeration value 'CoerceAndExpand' not handled in switch [-Wswitch]
> switch (AI.getKind()) {
> ^
> swift/lib/IRGen/GenFunc.cpp:2916:13: warning: enumeration value 'CoerceAndExpand' not handled in switch [-Wswitch]
> switch (AI.getKind()) {
> ^
> 2 warnings generated.
> [171/926] Building CXX object lib/IRGen/CMakeFiles/swiftIRGen.dir/IRGenSIL.cpp.o
> swift/lib/IRGen/IRGenSIL.cpp:1280:13: warning: enumeration value 'CoerceAndExpand' not handled in switch [-Wswitch]
> switch (AI.getKind()) {
> ^
>
> https://bugs.swift.org/browse/SR-1157 <https://bugs.swift.org/browse/SR-1157>
I'll get to it. It's harmless for now.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160404/015a0743/attachment.html>
More information about the swift-dev
mailing list