diff options
author | Bhuminjay Soni <Soni5Happy@gmail.com> | 2024-03-13 21:58:25 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 12:28:25 -0400 |
commit | ccd16085f70105d457f052543d731dd51089945b (patch) | |
tree | 376cabbd8435aa85bd51b15d236b67747f120b2d /clang/lib/Basic/Module.cpp | |
parent | bb893fa23f6c851d957d82e14bc1aa6fbbffcaaa (diff) | |
download | llvm-ccd16085f70105d457f052543d731dd51089945b.zip llvm-ccd16085f70105d457f052543d731dd51089945b.tar.gz llvm-ccd16085f70105d457f052543d731dd51089945b.tar.bz2 |
Diagnose misuse of the cleanup attribute (#80040)
This pull request fixes #79443 when the cleanup attribute is intended to
be applied to a variable declaration, passing its address to a specified
function. The problem arises when standard functions like free,
closedir, fclose, etc., are used incorrectly with this attribute,
leading to incorrect behavior.
Fixes #79443
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions