[clang] [clang][analyzer] fix false positive of BlockInCriticalSectionChecker (PR #126752)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 07:12:35 PST 2025
Xazax-hun wrote:
Thanks a lot! Actually, I think you can also make the BugReporterVisitor approach work similarly. When you create the visitor, you would pass the symbol associated with the filedescriptor to the visitor and the visitor would track back to the function that created the said symbol. I am fine with both the set and the visitor approach I just want it to be symbol based as opposed to matching the AST.
https://github.com/llvm/llvm-project/pull/126752
More information about the cfe-commits
mailing list