aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorBhuminjay Soni <Soni5Happy@gmail.com>2024-03-13 21:58:25 +0530
committerGitHub <noreply@github.com>2024-03-13 12:28:25 -0400
commitccd16085f70105d457f052543d731dd51089945b (patch)
tree376cabbd8435aa85bd51b15d236b67747f120b2d /clang/lib/Basic/Module.cpp
parentbb893fa23f6c851d957d82e14bc1aa6fbbffcaaa (diff)
downloadllvm-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