Skip to content
Commit 8d228dda authored by Alexander Kornienko's avatar Alexander Kornienko
Browse files

[clang-tidy] Use hasLocalStorage() to identify unnecessary copy...

[clang-tidy] Use hasLocalStorage() to identify unnecessary copy initializations to exclude static local variables.

Summary: Since local static variables can outlive other local variables exclude them from the unnecessary copy initialization check.

Reviewers: alexfh

Patch by Felix Berger!

Differential Revision: http://reviews.llvm.org/D15822

llvm-svn: 256636
parent 72a96c66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment