[clang] [CIR] Add inline function attributes (PR #162866)
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 10 11:08:47 PDT 2025
================
@@ -1720,6 +1720,22 @@ ParseResult cir::FuncOp::parse(OpAsmParser &parser, OperationState &state) {
hasAlias = true;
}
+ // Parse optional inline attribute: inline_never, inline_always, or
+ // inline_hint
+ if (parser.parseOptionalKeyword("inline_never").succeeded()) {
----------------
bcardosolopes wrote:
Why not `parseOptionalAttribute`?
https://github.com/llvm/llvm-project/pull/162866
More information about the cfe-commits
mailing list