[all-commits] [llvm/llvm-project] a2d983: Improve diagnostic wording for invalid callback at...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Apr 4 12:01:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2d983cffba87f9f35ededf7a2d6515d3698216e
https://github.com/llvm/llvm-project/commit/a2d983cffba87f9f35ededf7a2d6515d3698216e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-callback-broken.c
Log Message:
-----------
Improve diagnostic wording for invalid callback attribute uses (#134423)
We were previously telling the user how many arguments were passed to
the attribute rather than saying how many arguments were expected to be
passed to the callback function. This rewords the diagnostic to
hopefully be a bit more clear.
Fixes #47451
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list