From 49c0980eac59e63d5622c4680eb1c16805ea8405 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 30 Jul 2022 15:41:13 +0100 Subject: [PATCH] Fix Wdocumentation warning. NFC. warning: '\returns' command used in a comment that is attached to a function returning void --- llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp b/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp index d9d7d4efa8c35..004788254fa90 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp @@ -49,7 +49,6 @@ class SIMCCodeEmitter : public AMDGPUMCCodeEmitter { SmallVectorImpl &Fixups, const MCSubtargetInfo &STI) const override; - /// \returns the encoding for an MCOperand. void getMachineOpValue(const MCInst &MI, const MCOperand &MO, APInt &Op, SmallVectorImpl &Fixups, const MCSubtargetInfo &STI) const override;