Skip to content

Commit 8696193

Browse files
committed
Improve documentation for evaluateInstruction
1 parent a284a64 commit 8696193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/MC/MCInstrAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ class MCInstrAnalysis {
181181
evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
182182
uint64_t &Target) const;
183183

184-
/// Given an instruction that accesses a menory address, try to compute
185-
/// the target address. Return true success, and the address in Target.
184+
/// Given an instruction that accesses a memory address, try to compute
185+
/// the target address. Return true on success, and the address in \p Target.
186186
virtual bool evaluateInstruction(const MCInst &Inst, uint64_t Addr,
187187
uint64_t Size, uint64_t &Target) const;
188188

0 commit comments

Comments
 (0)