[all-commits] [llvm/llvm-project] 842788: Temporairly revert "Thread safety analysis: Consid...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Sep 9 02:16:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8427885e27813c457dccb011f65e8ded74444e31
      https://github.com/llvm/llvm-project/commit/8427885e27813c457dccb011f65e8ded74444e31
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-09-09 (Wed, 09 Sep 2020)

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

  Log Message:
  -----------
  Temporairly revert "Thread safety analysis: Consider global variables in scope" & followup

This appears to cause false-positives because it started to warn on local non-global variables.

Repro posted to https://reviews.llvm.org/D84604#2262745

This reverts commit 9dcc82f34ea9b623d82d2577b93aaf67d36dabd2.
This reverts commit b2ce79ef66157dd752e3864ece57915e23a73f5d.




More information about the All-commits mailing list