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 | d0fcc9a8181be47ae7d4b3be21a8c8a4682d8ddb (patch) | |
tree | 5aeca8fc1d4e80c74ddfb052935136ce4677d71f /llvm/utils/unittest/googletest/include/gtest | |
parent | 499e6e49e7388bf7acefbd92286eda6d235947e2 (diff) | |
download | bcm5719-llvm-d0fcc9a8181be47ae7d4b3be21a8c8a4682d8ddb.tar.gz bcm5719-llvm-d0fcc9a8181be47ae7d4b3be21a8c8a4682d8ddb.zip |
Revert r111082. No warnings for this common pattern.
llvm-svn: 111102
Diffstat (limited to 'llvm/utils/unittest/googletest/include/gtest')
-rw-r--r-- | llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h index fb936199f68..9683271e48f 100644 --- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h +++ b/llvm/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 |