HomePhabricator

Thread safety analysis: Peel away NoOp implicit casts in initializers

Authored by aaronpuchert on Oct 29 2019, 4:37 PM.

Description

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