We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3b56a commit 63d6b15Copy full SHA for 63d6b15
include/swift/SIL/SILArgumentConvention.h
@@ -34,7 +34,7 @@ enum class InoutAliasingAssumption {
34
/// By design, this is exactly the same as ParameterConvention, plus
35
/// Indirect_Out.
36
struct SILArgumentConvention {
37
- enum : uint8_t {
+ enum ConventionType : uint8_t {
38
Indirect_In,
39
Indirect_In_Guaranteed,
40
Indirect_Inout,
@@ -79,7 +79,7 @@ struct SILArgumentConvention {
79
llvm_unreachable("covered switch isn't covered?!");
80
}
81
82
- operator decltype(Value)() const { return Value; }
+ operator ConventionType() const { return Value; }
83
84
bool isIndirectConvention() const {
85
return Value <= SILArgumentConvention::Indirect_Out;
0 commit comments