[clang] [clang][analyzer] fix false positive of BlockInCriticalSectionChecker (PR #126752)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 04:59:37 PST 2025
================
@@ -145,6 +145,92 @@ using MutexDescriptor =
std::variant<FirstArgMutexDescriptor, MemberMutexDescriptor,
RAIIMutexDescriptor>;
+class NonBlockOpenVisitor : public BugReporterVisitor {
+private:
+ const VarRegion *VR;
+ const CallExpr *OpenCallExpr;
+ int O_NONBLOCKV;
----------------
flovent wrote:
i understand now, thank you for explaining, i will change it in the subsequent modification
https://github.com/llvm/llvm-project/pull/126752
More information about the cfe-commits
mailing list