[llvm-commits] [llvm] r111539 - /llvm/trunk/unittests/ADT/SmallVectorTest.cpp
Bill Wendling
isanbard at gmail.com
Thu Aug 19 11:52:02 PDT 2010
Author: void
Date: Thu Aug 19 13:52:02 2010
New Revision: 111539
URL: http://llvm.org/viewvc/llvm-project?rev=111539&view=rev
Log:
Silence 'unused' warning.
Modified:
llvm/trunk/unittests/ADT/SmallVectorTest.cpp
Modified: llvm/trunk/unittests/ADT/SmallVectorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/SmallVectorTest.cpp?rev=111539&r1=111538&r2=111539&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/SmallVectorTest.cpp (original)
+++ llvm/trunk/unittests/ADT/SmallVectorTest.cpp Thu Aug 19 13:52:02 2010
@@ -13,6 +13,7 @@
#include "gtest/gtest.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/Support/Compiler.h"
#include <stdarg.h>
#include <list>
@@ -76,7 +77,8 @@
return c0.getValue() == c1.getValue();
}
- friend bool operator!=(const Constructable & c0, const Constructable & c1) {
+ friend bool ATTRIBUTE_UNUSED
+ operator!=(const Constructable & c0, const Constructable & c1) {
return c0.getValue() != c1.getValue();
}
};
More information about the llvm-commits
mailing list