[llvm] cce3599 - [Object] Fix grammar mistake in the comment
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 08:47:45 PDT 2023
Author: Steven Wu
Date: 2023-07-31T08:45:22-07:00
New Revision: cce35994bb7294d273478b5756f760c4137e1194
URL: https://github.com/llvm/llvm-project/commit/cce35994bb7294d273478b5756f760c4137e1194
DIFF: https://github.com/llvm/llvm-project/commit/cce35994bb7294d273478b5756f760c4137e1194.diff
LOG: [Object] Fix grammar mistake in the comment
Update comment in previous commit from D156603.
Added:
Modified:
llvm/lib/Object/SymbolSize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Object/SymbolSize.cpp b/llvm/lib/Object/SymbolSize.cpp
index eee5505b8c1414..f93a5f7d9bd544 100644
--- a/llvm/lib/Object/SymbolSize.cpp
+++ b/llvm/lib/Object/SymbolSize.cpp
@@ -86,7 +86,7 @@ llvm::object::computeSymbolSizes(const ObjectFile &O) {
// Compute the size as the gap to the next symbol. If multiple symbols have
// the same address, give both the same size. Because Addresses is sorted,
- // using two pointers to keep track of the current symbol vs. the next symbol
+ // use two pointers to keep track of the current symbol vs. the next symbol
// that doesn't have the same address for size computation.
for (unsigned I = 0, NextI = 0, N = Addresses.size() - 1; I < N; ++I) {
auto &P = Addresses[I];
More information about the llvm-commits
mailing list