diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-04-03 07:13:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-03 07:13:30 -0400 |
commit | 7febd78f1e6caacb05ea43fa838a3b2b21fdd0bd (patch) | |
tree | 76112f3aa985e9a1a16c99b5137c55b7cd7d5b6a /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | ee4e8197fa67dd1ed6e9470e00708e7feeaacd97 (diff) | |
download | llvm-7febd78f1e6caacb05ea43fa838a3b2b21fdd0bd.zip llvm-7febd78f1e6caacb05ea43fa838a3b2b21fdd0bd.tar.gz llvm-7febd78f1e6caacb05ea43fa838a3b2b21fdd0bd.tar.bz2 |
No longer diagnose __auto_type as the auto extension (#134129)
Given:
__auto_type x = 12;
decltype(auto) y = 12;
-Wc++98-compat would diagnose both x and y with:
'auto' type specifier is incompatible with C++98
This patch silences the diagnostic in those cases. decltype(auto) is
still diagnosed with:
'decltype(auto)' type specifier is incompatible with C++ standards
before C++14
as expected but no longer produces the extraneous diagnostic about use
of 'auto'.
Fixes #47900
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions