[all-commits] [llvm/llvm-project] 0b9c63: [clang] Warn about deprecated volatile-qualified r...
halbi2 via All-commits
all-commits at lists.llvm.org
Fri May 9 23:03:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b9c63dfe91309935d607f701bed90a739ad47f0
https://github.com/llvm/llvm-project/commit/0b9c63dfe91309935d607f701bed90a739ad47f0
Author: halbi2 <hehiralbi at gmail.com>
Date: 2025-05-10 (Sat, 10 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaType.cpp
M clang/test/CXX/expr/expr.const/p2-0x.cpp
M clang/test/SemaCXX/deprecated.cpp
Log Message:
-----------
[clang] Warn about deprecated volatile-qualified return types (#137899)
The old codepath in GetFullTypeForDeclarator was under "if (not a class type)"
so that it failed to warn for class types. Move the diagnostic outside
of the "if" so that it warns in the proper situations.
Fixes #133380
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
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