[libcxx-commits] [libcxxabi] 9ae24fc - Demangle: Fix comment typos to cycle bots
Nico Weber via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 5 05:04:40 PDT 2024
Author: Nico Weber
Date: 2024-08-05T08:04:30-04:00
New Revision: 9ae24fca2522c70eaff6c3e9c5ea89675db7c213
URL: https://github.com/llvm/llvm-project/commit/9ae24fca2522c70eaff6c3e9c5ea89675db7c213
DIFF: https://github.com/llvm/llvm-project/commit/9ae24fca2522c70eaff6c3e9c5ea89675db7c213.diff
LOG: Demangle: Fix comment typos to cycle bots
Added:
Modified:
libcxxabi/src/demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
llvm/lib/Demangle/RustDemangle.cpp
Removed:
################################################################################
diff --git a/libcxxabi/src/demangle/ItaniumDemangle.h b/libcxxabi/src/demangle/ItaniumDemangle.h
index 2637d2d456673..ecc9b1aeb5c6f 100644
--- a/libcxxabi/src/demangle/ItaniumDemangle.h
+++ b/libcxxabi/src/demangle/ItaniumDemangle.h
@@ -3319,7 +3319,7 @@ AbstractManglingParser<Derived, Alloc>::parseOperatorEncoding() {
return nullptr;
// We can't use lower_bound as that can link to symbols in the C++ library,
- // and this must remain independant of that.
+ // and this must remain independent of that.
size_t lower = 0u, upper = NumOps - 1; // Inclusive bounds.
while (upper != lower) {
size_t middle = (upper + lower) / 2;
diff --git a/llvm/include/llvm/Demangle/ItaniumDemangle.h b/llvm/include/llvm/Demangle/ItaniumDemangle.h
index e7c008be32f9e..b3976d7fbf41f 100644
--- a/llvm/include/llvm/Demangle/ItaniumDemangle.h
+++ b/llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -3318,7 +3318,7 @@ AbstractManglingParser<Derived, Alloc>::parseOperatorEncoding() {
return nullptr;
// We can't use lower_bound as that can link to symbols in the C++ library,
- // and this must remain independant of that.
+ // and this must remain independent of that.
size_t lower = 0u, upper = NumOps - 1; // Inclusive bounds.
while (upper != lower) {
size_t middle = (upper + lower) / 2;
diff --git a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
index 1913bff0ada7f..30ca43d2bde02 100644
--- a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
+++ b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
@@ -332,7 +332,7 @@ struct FunctionSignatureNode : public TypeNode {
// The function's calling convention.
CallingConv CallConvention = CallingConv::None;
- // Function flags (gloabl, public, etc)
+ // Function flags (global, public, etc)
FuncClass FunctionClass = FC_Global;
FunctionRefQualifier RefQualifier = FunctionRefQualifier::None;
diff --git a/llvm/lib/Demangle/RustDemangle.cpp b/llvm/lib/Demangle/RustDemangle.cpp
index f0d70de3abb53..05e052f82dbc6 100644
--- a/llvm/lib/Demangle/RustDemangle.cpp
+++ b/llvm/lib/Demangle/RustDemangle.cpp
@@ -870,7 +870,7 @@ Identifier Demangler::parseIdentifier() {
// Parses optional base 62 number. The presence of a number is determined using
// Tag. Returns 0 when tag is absent and parsed value + 1 otherwise
//
-// This function is indended for parsing disambiguators and binders which when
+// This function is intended for parsing disambiguators and binders which when
// not present have their value interpreted as 0, and otherwise as decoded
// value + 1. For example for binders, value for "G_" is 1, for "G0_" value is
// 2. When "G" is absent value is 0.
More information about the libcxx-commits
mailing list