From 5d5cc59cc77afe655b3707cb0e69e0827b444cad Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 17 Sep 2010 15:48:55 +0000 Subject: Vendor import of llvm r114020 (from the release_28 branch): http://llvm.org/svn/llvm-project/llvm/branches/release_28@114020 Approved by: rpaulo (mentor) --- unittests/ADT/SmallVectorTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'unittests/ADT/SmallVectorTest.cpp') diff --git a/unittests/ADT/SmallVectorTest.cpp b/unittests/ADT/SmallVectorTest.cpp index 991c7d6..78dc393 100644 --- a/unittests/ADT/SmallVectorTest.cpp +++ b/unittests/ADT/SmallVectorTest.cpp @@ -13,6 +13,7 @@ #include "gtest/gtest.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include @@ -76,7 +77,8 @@ public: 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(); } }; -- cgit v1.1