[llvm][NFC] Fix typos in Errc.h description
authorCyndy Ishida <cyndy_ishida@apple.com>
Fri, 23 Jul 2021 18:54:49 +0000 (11:54 -0700)
committerCyndy Ishida <cyndy_ishida@apple.com>
Fri, 23 Jul 2021 18:54:49 +0000 (11:54 -0700)
llvm/include/llvm/Support/Errc.h

index 9be8e57..9df522c 100644 (file)
@@ -10,7 +10,7 @@
 // some problems with std::errc that can be avoided by using our own
 // enumeration:
 //
-// * std::errc is a namespace in some implementations. That meas that ADL
+// * std::errc is a namespace in some implementations. That means that ADL
 //   doesn't work and it is sometimes necessary to write std::make_error_code
 //   or in templates:
 //   using std::make_error_code;
@@ -22,7 +22,7 @@
 //   the intersection of all the ones we support.
 //
 // * std::errc is just marked with is_error_condition_enum. This means that
-//   common patters like AnErrorCode == errc::no_such_file_or_directory take
+//   common patterns like AnErrorCode == errc::no_such_file_or_directory take
 //   4 virtual calls instead of two comparisons.
 //===----------------------------------------------------------------------===//