forked from OSchip/llvm-project
parent
8a89d3662a
commit
da7456ad0e
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue