From 858e35160e2b374074d50328c48b1e88165974e0 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 8 Jul 2019 22:05:02 +0000 Subject: [PATCH] Add parentheses to silence warnings. llvm-svn: 365397 --- lld/wasm/OutputSections.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lld/wasm/OutputSections.cpp b/lld/wasm/OutputSections.cpp index c81d0963aba6..77f727902837 100644 --- a/lld/wasm/OutputSections.cpp +++ b/lld/wasm/OutputSections.cpp @@ -132,9 +132,8 @@ void DataSection::finalizeContents() { OS.flush(); BodySize = DataSectionHeader.size(); - assert(!Config->Pic || - Segments.size() <= 1 && - "Currenly only a single data segment is supported in PIC mode"); + assert((!Config->Pic || Segments.size() <= 1) && + "Currenly only a single data segment is supported in PIC mode"); for (OutputSegment *Segment : Segments) { raw_string_ostream OS(Segment->Header);