[lld] 0836fc3 - [NFC][lld] Fix typos to test commit access

Daniel Bertalan via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 15:27:01 PDT 2022


Author: Daniel Bertalan
Date: 2022-06-24T00:19:18+02:00
New Revision: 0836fc395f5518966be23bf8dd5ee0010758d794

URL: https://github.com/llvm/llvm-project/commit/0836fc395f5518966be23bf8dd5ee0010758d794
DIFF: https://github.com/llvm/llvm-project/commit/0836fc395f5518966be23bf8dd5ee0010758d794.diff

LOG: [NFC][lld] Fix typos to test commit access

Added: 
    

Modified: 
    lld/CMakeLists.txt
    lld/include/lld/Common/ErrorHandler.h

Removed: 
    


################################################################################
diff  --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
index f51c864af8375..ec11de705a83b 100644
--- a/lld/CMakeLists.txt
+++ b/lld/CMakeLists.txt
@@ -72,7 +72,7 @@ if(LLD_BUILT_STANDALONE)
     # path is removed.
     set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
     set(LLVM_OBJ_DIR "${LLVM_BINARY_DIR}")
-    # N.B. this is just a default value, the CACHE PATHs below can be overriden.
+    # N.B. this is just a default value, the CACHE PATHs below can be overridden.
     set(MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm")
   endif()
 

diff  --git a/lld/include/lld/Common/ErrorHandler.h b/lld/include/lld/Common/ErrorHandler.h
index 69e798c66ca6a..0b69bb6202b32 100644
--- a/lld/include/lld/Common/ErrorHandler.h
+++ b/lld/include/lld/Common/ErrorHandler.h
@@ -134,7 +134,7 @@ class ErrorHandler {
   // We wrap stdout and stderr so that you can pass alternative stdout/stderr as
   // arguments to lld::*::link() functions. Since lld::outs() or lld::errs() can
   // be indirectly called from multiple threads, we protect them using a mutex.
-  // In the future, we plan on supporting several concurent linker contexts,
+  // In the future, we plan on supporting several concurrent linker contexts,
   // which explains why the mutex is not a global but part of this context.
   std::mutex mu;
   llvm::raw_ostream *stdoutOS{};


        


More information about the llvm-commits mailing list