[all-commits] [llvm/llvm-project] a341e1: Thread safety analysis: Fix a bug in handling temp...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Fri Dec 8 10:29:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a341e177cea1cee800793d357264f6f46a3b4979
      https://github.com/llvm/llvm-project/commit/a341e177cea1cee800793d357264f6f46a3b4979
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang/lib/Analysis/ThreadSafety.cpp
    M clang/test/SemaCXX/warn-thread-safety-analysis.cpp

  Log Message:
  -----------
  Thread safety analysis: Fix a bug in handling temporary constructors (#74020)

Extends the lifetime of the map `ConstructedObjects` to be of the
whole CFG so that the map can connect temporary Ctor and Dtor in
different CFG blocks.




More information about the All-commits mailing list