From dee1d67a610312b4b4dd2620b536d8962ac97365 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Fri, 18 Jan 2019 19:31:54 +0000 Subject: [PATCH] [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 --- lib/AST/ASTContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()); -- 2.50.1