Skip to content

Commit 335fe49

Browse files
innovimaxCodaFi
authored andcommitted
fix typo (#21473)
1 parent 7200e10 commit 335fe49

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/DebugInfo/DumpDeclFromMangledName.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
// RUN: not %lldb-moduleimport-test %t/DeclReconstr \
1717
// RUN: --decl-from-mangled=patatino 2>&1 | \
1818
// RUN: %FileCheck %s --check-prefix=INVALID-DECL
19-
// INVALID-DECL: patatino does not exists, exiting.
19+
// INVALID-DECL: patatino does not exist, exiting.
2020

2121
// RUN: not %lldb-moduleimport-test %t/DeclReconstr \
2222
// RUN: --type-from-mangled=patatino 2>&1 | \
2323
// RUN: %FileCheck %s --check-prefix=INVALID-TYPE
24-
// INVALID-TYPE: patatino does not exists, exiting.
24+
// INVALID-TYPE: patatino does not exist, exiting.
2525

2626
// RUN: %lldb-moduleimport-test %t/DeclReconstr \
2727
// RUN: -decl-from-mangled=%t.input > %t.output 2>&1

tools/lldb-moduleimport-test/lldb-moduleimport-test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ int main(int argc, char **argv) {
229229
if (Filename.empty())
230230
return true;
231231
if (!llvm::sys::fs::exists(llvm::Twine(Filename))) {
232-
llvm::errs() << Filename << " does not exists, exiting.\n";
232+
llvm::errs() << Filename << " does not exist, exiting.\n";
233233
return false;
234234
}
235235
if (!llvm::sys::fs::is_regular_file(llvm::Twine(Filename))) {

utils/build_swift/argparse/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __call__(self, path):
115115
path = os.path.abspath(path)
116116

117117
if self._assert_exists and not os.path.exists(path):
118-
raise ArgumentTypeError('{} does not exists'.format(path))
118+
raise ArgumentTypeError('{} does not exist'.format(path))
119119

120120
if self._assert_executable and not PathType._is_executable(path):
121121
raise ArgumentTypeError('{} is not an executable'.format(path))

0 commit comments

Comments
 (0)