diff options
author | Erich Keane <erich.keane@intel.com> | 2019-01-18 19:31:54 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2019-01-18 19:31:54 +0000 |
commit | 8e77216c1aded5be150cf2e5dd3aca848545630e (patch) | |
tree | 86aa159bebbe3aec4976027207fb6ba041175de7 | |
parent | 2c2d0b6e970c71f222ffb06fcd7af596270967d0 (diff) | |
download | bcm5719-llvm-8e77216c1aded5be150cf2e5dd3aca848545630e.tar.gz bcm5719-llvm-8e77216c1aded5be150cf2e5dd3aca848545630e.zip |
[NFC] Fix wParentheses warning in ASTContext getFixedPointSemantics
Change-Id: I862f00a548236872fe24f7da8eb2bf7917e123ff
llvm-svn: 351576
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index ed203a331d5..caf6a504cd5 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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()); |