[llvm] Fix typos in Debug.h (PR #68761)
Matt Harding via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 20:35:01 PDT 2023
https://github.com/majaha created https://github.com/llvm/llvm-project/pull/68761
There were a couple of typos of "If" -> "In" in Debug.h
>From 9a394fff6ef4a2b7429f1c069dea572f813b2ce4 Mon Sep 17 00:00:00 2001
From: Matt Harding <majaharding at gmail.com>
Date: Wed, 11 Oct 2023 04:30:01 +0100
Subject: [PATCH] Fix typos in Debug.h
---
llvm/include/llvm/Support/Debug.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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