================ @@ -3591,15 +3591,20 @@ static void handleInitPriorityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { return; } + if (prioritynum < 0 || prioritynum > 65535) { ---------------- erichkeane wrote:
checking `<0` is silly, it is an unsigned argument. https://github.com/llvm/llvm-project/pull/121577 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits