Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in Debug.h #68761

Merged
merged 1 commit into from
Oct 21, 2023
Merged

Fix typos in Debug.h #68761

merged 1 commit into from
Oct 21, 2023

Conversation

majaha
Copy link
Contributor

@majaha majaha commented Oct 11, 2023

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

@llvmbot
Copy link
Collaborator

llvmbot commented Oct 11, 2023

@llvm/pr-subscribers-llvm-support

Author: Matt Harding (majaha)

Changes

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

@xgupta xgupta merged commit a3937c4 into llvm:main Oct 21, 2023
4 checks passed
Guzhu-AMD pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request Oct 26, 2023
Local branch amd-gfx 100685c Merged main:cb5612c99b0b into amd-gfx:a9c8acf93e80
Remote branch main a3937c4 Fix typos in Debug.h (llvm#68761)
@majaha majaha deleted the typos-1 branch October 26, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants