This happens when someone initializes a variable with guaranteed copy
elision and an added const qualifier. Fixes PR43826.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D69533
Thread safety analysis: Peel away NoOp implicit casts in initializers ClosedPublic Authored by aaronpuchert on Oct 28 2019, 2:29 PM.
Details Summary This happens when someone initializes a variable with guaranteed copy
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 29 2019, 1:35 PM Closed by commit rGae3159e49793: Thread safety analysis: Peel away NoOp implicit casts in initializers (authored by aaronpuchert). · Explain WhyOct 29 2019, 5:45 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 227002 clang/lib/Analysis/ThreadSafety.cpp
clang/test/SemaCXX/warn-thread-safety-analysis.cpp
|