diff options
author | ycdtosa <ycdtosa@users.noreply.github.com> | 2024-03-26 13:38:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 08:38:31 -0400 |
commit | 59e052568e7d46cc0489269e3c76f53bb21941f5 (patch) | |
tree | 222260d9b5473a42a09a7257d97eb2fce579fe15 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 19ca79e8671439338b429982c457304c70eca701 (diff) | |
download | llvm-59e052568e7d46cc0489269e3c76f53bb21941f5.zip llvm-59e052568e7d46cc0489269e3c76f53bb21941f5.tar.gz llvm-59e052568e7d46cc0489269e3c76f53bb21941f5.tar.bz2 |
[[clang::always_destroy]] attribute silences warn-exit-time-destructor (#86486)
This attribute tells the compiler that the variable must have its exit-time
destructor run, so it makes sense that it would silence the warning telling
users that an exit-time destructor is required.
Fixes https://github.com/llvm/llvm-project/issues/68686
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions