diff options
author | Gábor Horváth <xazax.hun@gmail.com> | 2024-11-08 15:05:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 15:05:11 +0000 |
commit | 8b29c05b73310bba3d7abd007dbbd839c46b0ab4 (patch) | |
tree | 2ab9dac8a788bf30dcfd03a72fd28855b6b23479 /llvm/unittests/TargetParser/TargetParserTest.cpp | |
parent | 9aea6671085f02e6127750103ca48ae6a09ceeb8 (diff) | |
download | llvm-8b29c05b73310bba3d7abd007dbbd839c46b0ab4.zip llvm-8b29c05b73310bba3d7abd007dbbd839c46b0ab4.tar.gz llvm-8b29c05b73310bba3d7abd007dbbd839c46b0ab4.tar.bz2 |
[clang] Permit lifetimebound in all language modes (#115482)
Lifetimebound annotations can help diagnose common cases of dangling
including escaping the address of a stack variable from a function. This
is useful in all C family languages, restricting these diagnostics to
C++ is an artificial limitation.
Co-authored-by: Gabor Horvath <gaborh@apple.com>
Diffstat (limited to 'llvm/unittests/TargetParser/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions