[clang] [APINotes] Strip selector volatile and nested nullability from parameter selectors (PR #215266)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 06:16:19 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list