Skip to content

Commit e5aa799

Browse files
authored
[mojo-lang] Use Lower Case in TailCallAttribute Member Names (#98253)
The build is broken with the error message: ``` error: declaration of 'mlir::LLVM::tailcallkind::TailCallKind mlir::LLVM::detail::TailCallKindAttrStorage::TailCallKind' changes meaning of 'TailCallKind' ``` I cannot replicate the error locally because I think it's only reported by GCC not clang. However, I think the change in this patch may fix it.
1 parent 14f7450 commit e5aa799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,8 +1082,8 @@ def LLVM_ZeroAttr : LLVM_Attr<"Zero", "zero">;
10821082
//===----------------------------------------------------------------------===//
10831083

10841084
def TailCallKindAttr : LLVM_Attr<"TailCallKind", "tailcallkind"> {
1085-
let parameters = (ins "TailCallKind":$TailCallKind);
1086-
let assemblyFormat = "`<` $TailCallKind `>`";
1085+
let parameters = (ins "TailCallKind":$tailCallKind);
1086+
let assemblyFormat = "`<` $tailCallKind `>`";
10871087
}
10881088

10891089
#endif // LLVMIR_ATTRDEFS

0 commit comments

Comments
 (0)