diff options
author | halbi2 <hehiralbi@gmail.com> | 2025-05-10 02:03:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-10 08:03:20 +0200 |
commit | 0b9c63dfe91309935d607f701bed90a739ad47f0 (patch) | |
tree | b444c9faf943363fc113299d553cad9055965b46 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 98d68e49f73efab7126a34fa2469a590e832afa4 (diff) | |
download | llvm-0b9c63dfe91309935d607f701bed90a739ad47f0.zip llvm-0b9c63dfe91309935d607f701bed90a739ad47f0.tar.gz llvm-0b9c63dfe91309935d607f701bed90a739ad47f0.tar.bz2 |
[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@gmail.com>
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions