Skip to content

Conversation

Arghnews
Copy link
Contributor

See #140071, I concluded that removing the typo was the best thing after looking into the commit. Happy to be told if this is incorrect and a different change would be better

@llvmbot llvmbot added clang Clang issues not falling into any other category llvm:support labels Aug 21, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 21, 2025

@llvm/pr-subscribers-llvm-support

@llvm/pr-subscribers-clang

Author: Justin Riddell (Arghnews)

Changes

See #140071, I concluded that removing the typo was the best thing after looking into the commit. Happy to be told if this is incorrect and a different change would be better


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

2 Files Affected:

  • (modified) clang/docs/UsersManual.rst (+1-1)
  • (modified) llvm/include/llvm/Support/Debug.h (+1-1)
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index c7039290ec6d5..0e85c8109fd5e 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -2635,7 +2635,7 @@ violates the strict aliasing rules. For example:
 
 Strict aliasing can be explicitly enabled with ``-fstrict-aliasing`` and
 disabled with ``-fno-strict-aliasing``. ``clang-cl`` defaults to
-``-fno-strict-aliasing``; see . Otherwise, Clang defaults to ``-fstrict-aliasing``.
+``-fno-strict-aliasing``. Otherwise, Clang defaults to ``-fstrict-aliasing``.
 
 C and C++ specify slightly different rules for strict aliasing. To improve
 language interoperability, Clang allows two types to alias if either language
diff --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h
index a6ed645849ded..b73f2d7c8b852 100644
--- a/llvm/include/llvm/Support/Debug.h
+++ b/llvm/include/llvm/Support/Debug.h
@@ -15,7 +15,7 @@
 // LLVM_DEBUG() requires the DEBUG_TYPE macro to be defined. Set it to "foo"
 // specify that your debug code belongs to class "foo". Be careful that you only
 // do this after including Debug.h and not around any #include of headers.
-// Headers should define and undef the macro acround the code that needs to use
+// Headers should define and undef the macro around the code that needs to use
 // the LLVM_DEBUG() macro. Then, on the command line, you can specify
 // '-debug-only=foo' to enable JUST the debug information for the foo class.
 //

@Arghnews
Copy link
Contributor Author

Pinging @fhahn @AaronBallman for review
Please let me know if there's a different/preferred way to add someone as a reviewer

Copy link
Contributor

@fhahn fhahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

Copy link
Collaborator

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Do you need someone to land this on your behalf?

@Arghnews
Copy link
Contributor Author

LGTM! Do you need someone to land this on your behalf?

@AaronBallman I do need someone to commit this, I don't have write access yes, thank you

@AaronBallman AaronBallman merged commit 6f9bce9 into llvm:main Aug 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category llvm:support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants