commit | cf45aa5250d9d794eb3b86f8c41619e3d05b48c1 | [log] [tgz] |
---|---|---|
author | Alexander Kornienko <[email protected]> | Wed Dec 30 11:35:50 2015 +0000 |
committer | Alexander Kornienko <[email protected]> | Wed Dec 30 11:35:50 2015 +0000 |
tree | 9aea8379f3f656866f532b37bc053cc55b57bc0c | |
parent | 9ec09bdda27e8e936d64fb8fd5d6ca0c53bab18e [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@256636 91177308-0d34-0410-b5e6-96231b3b80d8