aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCExpr.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-03-17 20:24:08 -0700
committerFangrui Song <i@maskray.me>2025-03-17 20:24:08 -0700
commitb9d27ac252265839354fffeacaa8f39377ed7424 (patch)
treea044d567e52b2ef38148736f08f67e70bbf62e0f /llvm/lib/MC/MCExpr.cpp
parentc72f7958b04c07afbd0d56b2e4772c741f88de67 (diff)
downloadllvm-b9d27ac252265839354fffeacaa8f39377ed7424.zip
llvm-b9d27ac252265839354fffeacaa8f39377ed7424.tar.gz
llvm-b9d27ac252265839354fffeacaa8f39377ed7424.tar.bz2
[MC] Fix formatting of a comment
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
-rw-r--r--llvm/lib/MC/MCExpr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp
index 8ac996f..4f27b60 100644
--- a/llvm/lib/MC/MCExpr.cpp
+++ b/llvm/lib/MC/MCExpr.cpp
@@ -286,8 +286,8 @@ bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm,
}
bool IsRelocatable = evaluateAsRelocatableImpl(Value, Asm, Addrs, InSet);
- Res = Value.getConstant(); // Value with RefKind (e.g. %hi(0xdeadbeef) in
- // MIPS) is not considered
+ Res = Value.getConstant();
+ // Value with RefKind (e.g. %hi(0xdeadbeef) in MIPS) is not considered
// absolute (the value is unknown at parse time), even if it might be resolved
// by evaluateFixup.
return IsRelocatable && Value.isAbsolute() && Value.getRefKind() == 0;