diff options
author | Manuel Klimek <klimek@google.com> | 2015-10-23 10:00:50 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2015-10-23 10:00:50 +0000 |
commit | 5fdd843d14c6ac974d3616da715d8e834c0f4b96 (patch) | |
tree | 6f07aca51dad301fb87b075e509531273db5d222 /clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp | |
parent | 69e8f5cf4ef683d7ee6fb9e8c6e0a3ffcd9abc58 (diff) | |
download | bcm5719-llvm-5fdd843d14c6ac974d3616da715d8e834c0f4b96.tar.gz bcm5719-llvm-5fdd843d14c6ac974d3616da715d8e834c0f4b96.zip |
Make isExpensiveToCopy() tri-state.
This allows returning "don't know" for dependent types.
llvm-svn: 251103
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp b/clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp index 2409cae3f40..609dd082d29 100644 --- a/clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp @@ -120,11 +120,6 @@ struct NegativeParamTriviallyCopyable { int I_; }; -template <typename T> struct NegativeDependentType { - NegativeDependentType(T Value) : T_(Value) {} - T T_; -}; - struct NegativeNotPassedByValue { NegativeNotPassedByValue(const Movable &M) : M_(M) {} NegativeNotPassedByValue(const Movable M) : M_(M) {} |