From: Erich Keane Date: Fri, 18 Jan 2019 19:31:54 +0000 (+0000) Subject: [NFC] Fix wParentheses warning in ASTContext getFixedPointSemantics X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dee1d67a610312b4b4dd2620b536d8962ac97365;p=clang [NFC] Fix wParentheses warning in ASTContext getFixedPointSemantics Change-Id: I862f00a548236872fe24f7da8eb2bf7917e123ff git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351576 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index ed203a331d..caf6a504cd 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -10485,9 +10485,9 @@ unsigned char ASTContext::getFixedPointIBits(QualType Ty) const { } FixedPointSemantics ASTContext::getFixedPointSemantics(QualType Ty) const { - assert(Ty->isFixedPointType() || - Ty->isIntegerType() && "Can only get the fixed point semantics for a " - "fixed point or integer type."); + assert((Ty->isFixedPointType() || Ty->isIntegerType()) && + "Can only get the fixed point semantics for a " + "fixed point or integer type."); if (Ty->isIntegerType()) return FixedPointSemantics::GetIntegerSemantics(getIntWidth(Ty), Ty->isSignedIntegerType());