aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorYihe Li <winmikedows@hotmail.com>2024-11-19 18:04:53 +0800
committerGitHub <noreply@github.com>2024-11-19 11:04:53 +0100
commit51ad2901ca54a01a72db71622b116eb27ea6dcf2 (patch)
tree4179e693ca172c88701db8f9009c42c2ba761958 /clang/lib/CodeGen/CodeGenModule.cpp
parentd4f2b71c3fd89da4dbdec0091a97a6a2c411145d (diff)
downloadllvm-51ad2901ca54a01a72db71622b116eb27ea6dcf2.zip
llvm-51ad2901ca54a01a72db71622b116eb27ea6dcf2.tar.gz
llvm-51ad2901ca54a01a72db71622b116eb27ea6dcf2.tar.bz2
[Clang] Improve diagnostic on `[[nodiscard]]` attribute (#112521)
A follow-up to #112289. When diagnosing an unused return value, if the diagnostic is triggered by an attribute attached to a type, the type name is now included in the diagnostic. --------- Co-authored-by: Sirraide <aeternalmail@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions