From 8594a24d63d8606fff344d72b6754547fb04c9b6 Mon Sep 17 00:00:00 2001 From: Cyndy Ishida Date: Fri, 23 Jul 2021 11:54:49 -0700 Subject: [PATCH] [llvm][NFC] Fix typos in Errc.h description --- llvm/include/llvm/Support/Errc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Support/Errc.h b/llvm/include/llvm/Support/Errc.h index 9be8e57..9df522c 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. //===----------------------------------------------------------------------===// -- 2.7.4