-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second party
Description
GCC warns on local variables marked [[deprecated]]
https://compiler-explorer.com/z/nvfdTeveP
This behavior seems to be backed by the standard https://eel.is/c++draft/dcl.attr#deprecated-2.sentence-1
Should we follow suite? Arguably, it would be of limited usefulness.
Metadata
Metadata
Assignees
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partyVerified by a second party