================
@@ -4248,6 +4248,13 @@ void Parser::ParseDeclarationSpecifiers(
// type-specifier
case tok::kw_short:
+ if (!getLangOpts().NativeInt16Type) {
----------------
inbelic wrote:
Is this change required? The parsing of `half` below (line 4319) doesn't
require this to emit errors when it isn't supported. And IIRC, I didn't need
this change to generate errors that the int 16 type was not supported when I
was poking around
https://github.com/llvm/llvm-project/pull/165584
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits