Skip to content

Commit 9ae24fc

Browse files
committed
Demangle: Fix comment typos to cycle bots
1 parent c65afad commit 9ae24fc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

libcxxabi/src/demangle/ItaniumDemangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3319,7 +3319,7 @@ AbstractManglingParser<Derived, Alloc>::parseOperatorEncoding() {
33193319
return nullptr;
33203320

33213321
// We can't use lower_bound as that can link to symbols in the C++ library,
3322-
// and this must remain independant of that.
3322+
// and this must remain independent of that.
33233323
size_t lower = 0u, upper = NumOps - 1; // Inclusive bounds.
33243324
while (upper != lower) {
33253325
size_t middle = (upper + lower) / 2;

llvm/include/llvm/Demangle/ItaniumDemangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3318,7 +3318,7 @@ AbstractManglingParser<Derived, Alloc>::parseOperatorEncoding() {
33183318
return nullptr;
33193319

33203320
// We can't use lower_bound as that can link to symbols in the C++ library,
3321-
// and this must remain independant of that.
3321+
// and this must remain independent of that.
33223322
size_t lower = 0u, upper = NumOps - 1; // Inclusive bounds.
33233323
while (upper != lower) {
33243324
size_t middle = (upper + lower) / 2;

llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ struct FunctionSignatureNode : public TypeNode {
332332
// The function's calling convention.
333333
CallingConv CallConvention = CallingConv::None;
334334

335-
// Function flags (gloabl, public, etc)
335+
// Function flags (global, public, etc)
336336
FuncClass FunctionClass = FC_Global;
337337

338338
FunctionRefQualifier RefQualifier = FunctionRefQualifier::None;

llvm/lib/Demangle/RustDemangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ Identifier Demangler::parseIdentifier() {
870870
// Parses optional base 62 number. The presence of a number is determined using
871871
// Tag. Returns 0 when tag is absent and parsed value + 1 otherwise
872872
//
873-
// This function is indended for parsing disambiguators and binders which when
873+
// This function is intended for parsing disambiguators and binders which when
874874
// not present have their value interpreted as 0, and otherwise as decoded
875875
// value + 1. For example for binders, value for "G_" is 1, for "G0_" value is
876876
// 2. When "G" is absent value is 0.

0 commit comments

Comments
 (0)