[PATCH] D124966: Thread safety analysis: Handle compound assignment and ->* overloads

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 06:52:26 PDT 2022


aaronpuchert updated this revision to Diff 427623.
aaronpuchert added a comment.

Use 1 instead of 0 just to be sure. We don't want to trigger warnings about division by zero.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124966/new/

https://reviews.llvm.org/D124966

Files:
  clang/lib/Analysis/ThreadSafety.cpp
  clang/test/SemaCXX/warn-thread-safety-analysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124966.427623.patch
Type: text/x-patch
Size: 6325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/3363cc53/attachment.bin>


More information about the cfe-commits mailing list