Fix parenthesized assert (nfc).

llvm-svn: 285685
This commit is contained in:
Manuel Klimek 2016-11-01 10:30:50 +00:00
parent 8a89d3662a
commit da7456ad0e
1 changed files with 2 additions and 2 deletions

View File

@ -3048,8 +3048,8 @@ const Attr *FunctionDecl::getUnusedResultAttr() const {
/// an externally visible symbol, but "extern inline" will not create an
/// externally visible symbol.
bool FunctionDecl::isInlineDefinitionExternallyVisible() const {
assert(doesThisDeclarationHaveABody() ||
willHaveBody() && "Must be a function definition");
assert((doesThisDeclarationHaveABody() || willHaveBody()) &&
"Must be a function definition");
assert(isInlined() && "Function must be inline");
ASTContext &Context = getASTContext();