From f7d7a59b9e3c09699b851ce7346c79474d785a79 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Wed, 1 Nov 2017 13:47:51 +0000 Subject: [PATCH] Suppress a warning discovered by rL317076. [-Wunused-private-field] llvm-svn: 317090 --- llvm/lib/Target/Hexagon/RDFRegisters.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/Hexagon/RDFRegisters.h b/llvm/lib/Target/Hexagon/RDFRegisters.h index 3af8a9dec516..92b2021d58cd 100644 --- a/llvm/lib/Target/Hexagon/RDFRegisters.h +++ b/llvm/lib/Target/Hexagon/RDFRegisters.h @@ -206,6 +206,7 @@ namespace rdf { bool operator==(const rr_iterator &I) const { assert(Owner == I.Owner); + (void)Owner; return Index == I.Index; }