Issue 90073
Summary [[deprercated]] applied to local variables
Labels clang:frontend, clang:diagnostics
Assignees
Reporter cor3ntin
    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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to