diff options
author | Devon Loehr <DKLoehr@users.noreply.github.com> | 2025-05-21 13:54:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-21 10:54:36 -0700 |
commit | 0954c9d487e7cb30673df9f0ac125f71320d2936 (patch) | |
tree | 4e1b47f7a7b1b007c0ca7415032c90aad4325ae6 /clang/lib/CIR/CodeGen/CIRGenModule.cpp | |
parent | 68995b18da29eb92b2c46e2fe9bbdf692d254b81 (diff) | |
download | llvm-0954c9d487e7cb30673df9f0ac125f71320d2936.zip llvm-0954c9d487e7cb30673df9f0ac125f71320d2936.tar.gz llvm-0954c9d487e7cb30673df9f0ac125f71320d2936.tar.bz2 |
Add macro to suppress -Wunnecessary-virtual-specifier (#139614)
Followup to #138741.
This adds the requested macro to silence
`-Wunnecessary-virtual-specifier` when declaring virtual anchor
functions in `final` classes, per [LLVM
policy](https://llvm.org/docs/CodingStandards.html#provide-a-virtual-method-anchor-for-classes-in-headers).
It also cleans up any remaining instances of the warning, allowing us to
stop disabling it when we build LLVM.
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions