llvm-project
1903e7bc - [MC] Make MCParsedAsmOperand const in validateOperandClass (#245077)

Commit
1 day ago
[MC] Make MCParsedAsmOperand const in validateOperandClass (#245077) This is the final commit in this rather large stack of changes to avoid mutation of parsed operands inside `validateTargetOperandClass`. Make the argument const so that it is guaranteed by the compiler that we can't do in-place mutation inside the validate function. Assisted-by: AI tooling Pull-Request: https://github.com/llvm/llvm-project/pull/245077
Author
Parents
Loading