================
@@ -1001,11 +994,35 @@ UnwindTagContext(TagDecl *DC, api_notes::APINotesManager
&APINotes) {
return std::nullopt;
}
-static void stripAPINotesParameterNullability(QualType &ParamType) {
- while (true) {
- if (!AttributedType::stripOuterNullability(ParamType))
- return;
+static QualType stripAPINotesParameterNullability(QualType ParamType,
+ const ASTContext &Context) {
+ while (AttributedType::stripOuterNullability(ParamType)) {
----------------
Xazax-hun wrote:
Do we need this to be in a loop?
https://github.com/llvm/llvm-project/pull/215266
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits