diff options
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineModuleInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h index 3d710a98d11..36eda2d9793 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h +++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h @@ -293,8 +293,7 @@ public: return FrameInstructions; } - unsigned LLVM_ATTRIBUTE_UNUSED_RESULT - addFrameInst(const MCCFIInstruction &Inst) { + LLVM_NODISCARD unsigned addFrameInst(const MCCFIInstruction &Inst) { FrameInstructions.push_back(Inst); return FrameInstructions.size() - 1; } |