From: Bill Wendling Date: Wed, 18 Aug 2010 18:40:57 +0000 (+0000) Subject: Marked with ATTRIBUTE_USED so that clang doesn't complain. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=86b98b58745f09ac7fc8cee5eac9caa5739045c0;p=oota-llvm.git Marked with ATTRIBUTE_USED so that clang doesn't complain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111383 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 4bf7cdbdbee..e6ebf669587 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -572,7 +572,7 @@ namespace { friend bool operator<(const TableEntry &TE, unsigned V) { return TE.from < V; } - friend bool operator<(unsigned V, const TableEntry &TE) { + friend bool ATTRIBUTE_USED operator<(unsigned V, const TableEntry &TE) { return V < TE.from; } };