diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-14 21:35:10 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-14 21:35:10 +0000 |
commit | 7c09ddf0aedcd12e962b16525615c85dea907219 (patch) | |
tree | c1cfd46ce5e8b63ccd839c31c421a6fdc26a4ea8 /llvm/utils/unittest/googletest | |
parent | 2a2e21c902dac5b156ed1b0b8721c70e1315a2da (diff) | |
download | bcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.tar.gz bcm5719-llvm-7c09ddf0aedcd12e962b16525615c85dea907219.zip |
Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.
llvm-svn: 111082
Diffstat (limited to 'llvm/utils/unittest/googletest')
-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 9683271e48f..fb936199f68 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 &) + void operator=(type const &) GTEST_ATTRIBUTE_UNUSED_ // 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 &);\ + type(type const &) GTEST_ATTRIBUTE_UNUSED_;\ GTEST_DISALLOW_ASSIGN_(type) // Tell the compiler to warn about unused return values for functions declared |