[llvm] a3937c4 - Fix typos in Debug.h (#68761)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 22:44:17 PDT 2023


Author: Matt Harding
Date: 2023-10-21T11:14:13+05:30
New Revision: a3937c46d0eaa57cd9032114bb8a32b180565346

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

LOG: Fix typos in Debug.h (#68761)

There were a couple of typos of "If" -> "In" in Debug.h

Added: 
    

Modified: 
    llvm/include/llvm/Support/Debug.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h
index 5788ab3b21380db..3e2f0d9b43fc0d4 100644
--- a/llvm/include/llvm/Support/Debug.h
+++ b/llvm/include/llvm/Support/Debug.h
@@ -53,7 +53,7 @@ void setCurrentDebugType(const char *Type);
 void setCurrentDebugTypes(const char **Types, unsigned Count);
 
 /// DEBUG_WITH_TYPE macro - This macro should be used by passes to emit debug
-/// information.  In the '-debug' option is specified on the commandline, and if
+/// information.  If the '-debug' option is specified on the commandline, and if
 /// this is a debug build, then the code specified as the option to the macro
 /// will be executed.  Otherwise it will not be.  Example:
 ///
@@ -92,7 +92,7 @@ extern bool EnableDebugBuffering;
 raw_ostream &dbgs();
 
 // DEBUG macro - This macro should be used by passes to emit debug information.
-// In the '-debug' option is specified on the commandline, and if this is a
+// If the '-debug' option is specified on the commandline, and if this is a
 // debug build, then the code specified as the option to the macro will be
 // executed.  Otherwise it will not be.  Example:
 //


        


More information about the llvm-commits mailing list