diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index 4c7c13e9e2bb..bd091a0691ea 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -7561,7 +7561,7 @@ static void processTypeAttrs(TypeProcessingState &state, QualType &type, state.getDeclarator().isPrototypeContext() && !hasOuterPointerLikeChunk(state.getDeclarator(), endIndex); if (checkNullabilityTypeSpecifier( - state, + state, type, attr, allowOnArrayType)) {