[clang-tidy] Ignore incomplete types when determining whether they are expensive to copy
Summary: IsExpensiveToCopy can return false positives for incomplete types, so ignore them.
All existing ClangTidy tests that depend on this function still pass as the types are complete.
Reviewers: alexfh, aaron.ballman
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D26195
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@286008 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed