Skip to content

[clang][NFC][docs] Fix typo in LanguageExtensions #121576

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

Merged

Conversation

ritter-x2a
Copy link
Member

No description provided.

@ritter-x2a ritter-x2a added documentation clang Clang issues not falling into any other category clang-doc labels Jan 3, 2025
@ritter-x2a ritter-x2a requested a review from MaskRay January 3, 2025 14:55
@llvmbot
Copy link
Member

llvmbot commented Jan 3, 2025

@llvm/pr-subscribers-clang

Author: Fabian Ritter (ritter-x2a)

Changes

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

1 Files Affected:

  • (modified) clang/docs/LanguageExtensions.rst (+1-1)
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index cc5f1d4ddf4477..e020710c7aa4f5 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -3641,7 +3641,7 @@ program location should be executed. It is expected to be used to implement
 <https://llvm.org/docs/LangRef.html#llvm-allow-runtime-check-intrinsic>`_
 intrinsic.
 
-The ``__builtin_allow_runtime_check()`` can be used within constrol structures
+The ``__builtin_allow_runtime_check()`` can be used within control structures
 like ``if`` to guard expensive runtime checks. The return value is determined
 by the following compiler options and may differ per call site:
 

@ritter-x2a ritter-x2a merged commit 68d2656 into llvm:main Jan 3, 2025
11 of 13 checks passed
@ritter-x2a ritter-x2a deleted the clang-docs-language-extensions-typo branch January 3, 2025 15:15
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 clang-doc documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants