[llvm] 8594a24 - [llvm][NFC] Fix typos in Errc.h description
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 23 11:56:47 PDT 2021
Author: Cyndy Ishida
Date: 2021-07-23T11:54:49-07:00
New Revision: 8594a24d63d8606fff344d72b6754547fb04c9b6
URL: https://github.com/llvm/llvm-project/commit/8594a24d63d8606fff344d72b6754547fb04c9b6
DIFF: https://github.com/llvm/llvm-project/commit/8594a24d63d8606fff344d72b6754547fb04c9b6.diff
LOG: [llvm][NFC] Fix typos in Errc.h description
Added:
Modified:
llvm/include/llvm/Support/Errc.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Errc.h b/llvm/include/llvm/Support/Errc.h
index 9be8e5705a54..9df522cbe45c 100644
--- a/llvm/include/llvm/Support/Errc.h
+++ b/llvm/include/llvm/Support/Errc.h
@@ -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.
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list