[swift-dev] CoerceAndExpand switch warnings after latest clang/llvm stable merge

David Farler dfarler at apple.com
Mon Apr 4 17:02:19 CDT 2016


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

David


More information about the swift-dev mailing list