andrewrk requested changes to this revision.
andrewrk added inline comments.
This revision now requires changes to proceed.
================
Comment at: clang/lib/AST/Decl.cpp:3352
+ assert((doesThisDeclarationHaveABody() || willHaveBody()) ||
+ hasAttr<AliasAttr>() && "Must be a function definition");
assert(isInlined() && "Function must be inline");
----------------
It looks like the rparen is in the wrong place. I'd expect:
assert((doesThisDeclarationHaveABody() || willHaveBody() ||
hasAttr<AliasAttr>()) && "Must be a function definition");
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67455/new/
https://reviews.llvm.org/D67455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits