[lld] eb81d44 - fix typo in comment to cycle bots
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 4 09:52:52 PDT 2020
Author: Nico Weber
Date: 2020-04-04T12:52:45-04:00
New Revision: eb81d440fc96117b2b44f47b7cba69c2ac066905
URL: https://github.com/llvm/llvm-project/commit/eb81d440fc96117b2b44f47b7cba69c2ac066905
DIFF: https://github.com/llvm/llvm-project/commit/eb81d440fc96117b2b44f47b7cba69c2ac066905.diff
LOG: fix typo in comment to cycle bots
Added:
Modified:
lld/lib/Core/Error.cpp
lld/lib/Core/Resolver.cpp
Removed:
################################################################################
diff --git a/lld/lib/Core/Error.cpp b/lld/lib/Core/Error.cpp
index dc846db1ab0c..a4f4b1b8af48 100644
--- a/lld/lib/Core/Error.cpp
+++ b/lld/lib/Core/Error.cpp
@@ -62,7 +62,7 @@ class dynamic_error_category : public std::error_category {
int add(std::string msg) {
std::lock_guard<std::recursive_mutex> lock(_mutex);
- // Value zero is always the successs value.
+ // Value zero is always the success value.
if (_messages.empty())
_messages.push_back("Success");
_messages.push_back(msg);
diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp
index d1c3d8159f58..17a46056f00c 100644
--- a/lld/lib/Core/Resolver.cpp
+++ b/lld/lib/Core/Resolver.cpp
@@ -298,7 +298,7 @@ void Resolver::updateReferences() {
for (const OwningAtomPtr<Atom> &atom : _atoms) {
if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(atom.get())) {
for (const Reference *ref : *defAtom) {
- // A reference of type kindAssociate should't be updated.
+ // A reference of type kindAssociate shouldn't be updated.
// Instead, an atom having such reference will be removed
// if the target atom is coalesced away, so that they will
// go away as a group.
More information about the llvm-commits
mailing list