mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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
This commit is contained in:
1 parent
0b63f37865
commit
8c8b9ee8c8
6 files changed
+11
-12
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user