diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-07-13 06:48:39 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-07-13 06:48:39 +0000 |
commit | e9dea6e61396fb9325b36c0d3bcf5217bb09b0cc (patch) | |
tree | f3a129f101cddd7b5de06d95bc080bffb2401b57 /llvm/tools/llvm-c-test/echo.cpp | |
parent | f3de5eb7c6838e70ca56ece8a360437008aa073c (diff) | |
download | llvm-e9dea6e61396fb9325b36c0d3bcf5217bb09b0cc.zip llvm-e9dea6e61396fb9325b36c0d3bcf5217bb09b0cc.tar.gz llvm-e9dea6e61396fb9325b36c0d3bcf5217bb09b0cc.tar.bz2 |
fix typos in comments and error messges; NFC
llvm-svn: 307885
Diffstat (limited to 'llvm/tools/llvm-c-test/echo.cpp')
-rw-r--r-- | llvm/tools/llvm-c-test/echo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-c-test/echo.cpp b/llvm/tools/llvm-c-test/echo.cpp index 52ce85c..966c008 100644 --- a/llvm/tools/llvm-c-test/echo.cpp +++ b/llvm/tools/llvm-c-test/echo.cpp @@ -765,7 +765,7 @@ static void declare_symbols(LLVMModuleRef Src, LLVMModuleRef M) { LLVMValueRef Next = nullptr; if (!Begin) { if (End != nullptr) - report_fatal_error("Range has an end but no begining"); + report_fatal_error("Range has an end but no beginning"); goto FunDecl; } @@ -794,7 +794,7 @@ FunDecl: End = LLVMGetLastFunction(Src); if (!Begin) { if (End != nullptr) - report_fatal_error("Range has an end but no begining"); + report_fatal_error("Range has an end but no beginning"); return; } @@ -844,7 +844,7 @@ static void clone_symbols(LLVMModuleRef Src, LLVMModuleRef M) { LLVMValueRef Next = nullptr; if (!Begin) { if (End != nullptr) - report_fatal_error("Range has an end but no begining"); + report_fatal_error("Range has an end but no beginning"); goto FunClone; } @@ -885,7 +885,7 @@ FunClone: End = LLVMGetLastFunction(Src); if (!Begin) { if (End != nullptr) - report_fatal_error("Range has an end but no begining"); + report_fatal_error("Range has an end but no beginning"); return; } |