[NFC] Fix Wswitch warning triggered by 735e6c
This commit is contained in:
parent
029fc37270
commit
d029db9e8a
|
@ -921,6 +921,7 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
|
|||
case Attribute::WillReturn:
|
||||
case Attribute::WriteOnly:
|
||||
case Attribute::AllocKind:
|
||||
case Attribute::PresplitCoroutine:
|
||||
continue;
|
||||
// Those attributes should be safe to propagate to the extracted function.
|
||||
case Attribute::AlwaysInline:
|
||||
|
|
Loading…
Reference in a new issue