When using clang::QualType.print or clang::QualType.getAsString for an arrays with Nullability attributes, the attribute appears before the square brackets.
For example: “int [_Nonnull]” in source would return “int _Nonnull[]” from getAsString. In this case, _Nonnull would be interpreted as applying to non-pointer type int which is invalid.
Is this a bug?
Thanks,
-Pearson