File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -177,21 +177,21 @@ bool RISCVISAInfo::addExtension(StringRef ExtName,
177177}
178178
179179static StringRef getExtensionTypeDesc (StringRef Ext) {
180- if (Ext.starts_with (" s " ))
180+ if (Ext.starts_with (' s ' ))
181181 return " standard supervisor-level extension" ;
182- if (Ext.starts_with (" x " ))
182+ if (Ext.starts_with (' x ' ))
183183 return " non-standard user-level extension" ;
184- if (Ext.starts_with (" z " ))
184+ if (Ext.starts_with (' z ' ))
185185 return " standard user-level extension" ;
186186 return StringRef ();
187187}
188188
189189static StringRef getExtensionType (StringRef Ext) {
190- if (Ext.starts_with (" s " ))
190+ if (Ext.starts_with (' s ' ))
191191 return " s" ;
192- if (Ext.starts_with (" x " ))
192+ if (Ext.starts_with (' x ' ))
193193 return " x" ;
194- if (Ext.starts_with (" z " ))
194+ if (Ext.starts_with (' z ' ))
195195 return " z" ;
196196 return StringRef ();
197197}
You can’t perform that action at this time.
0 commit comments