[llvm] 06cc175 - [NFC][msan] Fix typo in comment

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 11:26:20 PDT 2024


Author: Vitaly Buka
Date: 2024-04-23T11:20:50-07:00
New Revision: 06cc1754f829d6b94dc797ed0f653d0eb52ef1ac

URL: https://github.com/llvm/llvm-project/commit/06cc1754f829d6b94dc797ed0f653d0eb52ef1ac
DIFF: https://github.com/llvm/llvm-project/commit/06cc1754f829d6b94dc797ed0f653d0eb52ef1ac.diff

LOG: [NFC][msan] Fix typo in comment

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index b1fd64fa3b293b..24c18cef2b0fef 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -1336,7 +1336,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
     }
   }
 
-  // Returns true if Debug Location curresponds to multiple warnings.
+  // Returns true if Debug Location corresponds to multiple warnings.
   bool shouldDisambiguateWarningLocation(const DebugLoc &DebugLoc) {
     if (MS.TrackOrigins < 2)
       return false;


        


More information about the llvm-commits mailing list