@@ -99,14 +99,8 @@ static llvm::StringRef errorTypeToFormatString(Diagnostics::ErrorType type) {
99
99
return " Incorrect argument count. (Expected = $0) != (Actual = $1)" ;
100
100
case Diagnostics::ET_RegistryWrongArgType:
101
101
return " Incorrect type for arg $0. (Expected = $1) != (Actual = $2)" ;
102
- case Diagnostics::ET_RegistryNotBindable:
103
- return " Matcher does not support binding." ;
104
102
case Diagnostics::ET_RegistryValueNotFound:
105
103
return " Value not found: $0" ;
106
- case Diagnostics::ET_RegistryUnknownEnumWithReplace:
107
- return " Unknown value '$1' for arg $0; did you mean '$2'" ;
108
- case Diagnostics::ET_RegistryMatcherNoWithSupport:
109
- return " Matcher does not support with call." ;
110
104
111
105
case Diagnostics::ET_ParserStringError:
112
106
return " Error parsing string token: <$0>" ;
@@ -122,20 +116,10 @@ static llvm::StringRef errorTypeToFormatString(Diagnostics::ErrorType type) {
122
116
return " Input value is not a matcher expression." ;
123
117
case Diagnostics::ET_ParserInvalidToken:
124
118
return " Invalid token <$0> found when looking for a value." ;
125
- case Diagnostics::ET_ParserMalformedExprNoOpenParen:
126
- return " Malformed identifier expression. Missing '('." ;
127
- case Diagnostics::ET_ParserMalformedExprNoIdentifier:
128
- return " Malformed identifier expression. Missing string identifier." ;
129
- case Diagnostics::ET_ParserMalformedExprNoCloseParen:
130
- return " Malformed identifier expression. Missing ')'." ;
131
119
case Diagnostics::ET_ParserTrailingCode:
132
120
return " Unexpected end of code." ;
133
- case Diagnostics::ET_ParserNumberError:
134
- return " Error parsing numeric literal: <$0>" ;
135
121
case Diagnostics::ET_ParserOverloadedType:
136
122
return " Input value has unresolved overloaded type: $0" ;
137
- case Diagnostics::ET_ParserMalformedChainedExpr:
138
- return " Period not followed by valid chained call." ;
139
123
case Diagnostics::ET_ParserFailedToBuildMatcher:
140
124
return " Failed to build matcher: $0." ;
141
125
0 commit comments