[all-commits] [llvm/llvm-project] ae3159: Thread safety analysis: Peel away NoOp implicit ca...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Tue Oct 29 16:44:46 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae3159e497934ed1320d20aab8b32e3bf00a8f10
      https://github.com/llvm/llvm-project/commit/ae3159e497934ed1320d20aab8b32e3bf00a8f10
  Author: Aaron Puchert <aaron.puchert at sap.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

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

  Log Message:
  -----------
  Thread safety analysis: Peel away NoOp implicit casts in initializers

Summary:
This happens when someone initializes a variable with guaranteed copy
elision and an added const qualifier. Fixes PR43826.

Reviewers: aaron.ballman, rsmith

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D69533




More information about the All-commits mailing list