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

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 20:36:14 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-support

Author: Matt Harding (majaha)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/68761.diff


1 Files Affected:

- (modified) llvm/include/llvm/Support/Debug.h (+2-2) 


``````````diff
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:
 //

``````````

</details>


https://github.com/llvm/llvm-project/pull/68761


More information about the llvm-commits mailing list