[NFC] Fix wParentheses warning in ASTContext getFixedPointSemantics
authorErich Keane <erich.keane@intel.com>
Fri, 18 Jan 2019 19:31:54 +0000 (19:31 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 18 Jan 2019 19:31:54 +0000 (19:31 +0000)
Change-Id: I862f00a548236872fe24f7da8eb2bf7917e123ff
llvm-svn: 351576

clang/lib/AST/ASTContext.cpp

index ed203a3..caf6a50 100644 (file)
@@ -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());