diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 10:27:23 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 10:27:23 +0000 |
commit | 8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe (patch) | |
tree | f5e1cef0436b2d207e695f1aeeb169138b51513f /utils/unittest/googletest/include/gtest/internal | |
parent | 0b63f378650f53b26f57a39b63b4cbceaefc7bef (diff) | |
download | external_llvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.zip external_llvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.tar.gz external_llvm-8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe.tar.bz2 |
Revert r111082. No warnings for this common pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest/googletest/include/gtest/internal')
-rw-r--r-- | utils/unittest/googletest/include/gtest/internal/gtest-port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/unittest/googletest/include/gtest/internal/gtest-port.h b/utils/unittest/googletest/include/gtest/internal/gtest-port.h index fb93619..9683271 100644 --- a/utils/unittest/googletest/include/gtest/internal/gtest-port.h +++ b/utils/unittest/googletest/include/gtest/internal/gtest-port.h @@ -556,12 +556,12 @@ // A macro to disallow operator= // This should be used in the private: declarations for a class. #define GTEST_DISALLOW_ASSIGN_(type)\ - void operator=(type const &) GTEST_ATTRIBUTE_UNUSED_ + void operator=(type const &) // A macro to disallow copy constructor and operator= // This should be used in the private: declarations for a class. #define GTEST_DISALLOW_COPY_AND_ASSIGN_(type)\ - type(type const &) GTEST_ATTRIBUTE_UNUSED_;\ + type(type const &);\ GTEST_DISALLOW_ASSIGN_(type) // Tell the compiler to warn about unused return values for functions declared |