From 4a7fa8cd28395033bdfe81f51befbcc17179a934 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 14 Jul 2015 21:03:24 +0000 Subject: [PATCH] Fix NDEBUG build warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242200 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/HexagonGenPredicate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/Hexagon/HexagonGenPredicate.cpp b/lib/Target/Hexagon/HexagonGenPredicate.cpp index 6a97cd4bd86..6905c4f6d12 100644 --- a/lib/Target/Hexagon/HexagonGenPredicate.cpp +++ b/lib/Target/Hexagon/HexagonGenPredicate.cpp @@ -54,6 +54,8 @@ namespace { Register Reg; const TargetRegisterInfo &TRI; }; + raw_ostream &operator<< (raw_ostream &OS, const PrintRegister &PR) + LLVM_ATTRIBUTE_UNUSED; raw_ostream &operator<< (raw_ostream &OS, const PrintRegister &PR) { return OS << PrintReg(PR.Reg.R, &PR.TRI, PR.Reg.S); } -- 2.34.1