[libc-commits] [libc] [libc][NFC] fix comment typo ("documentation") (PR #147836)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 9 14:47:50 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h -- libc/src/__support/CPP/atomic.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/CPP/atomic.h b/libc/src/__support/CPP/atomic.h
index 248f3ca46..53b583c04 100644
--- a/libc/src/__support/CPP/atomic.h
+++ b/libc/src/__support/CPP/atomic.h
@@ -28,7 +28,8 @@ enum class MemoryOrder : int {
SEQ_CST = __ATOMIC_SEQ_CST
};
-// These are a clang extension, see the clang documentation for more information:
+// These are a clang extension, see the clang documentation for more
+// information:
// https://clang.llvm.org/docs/LanguageExtensions.html#scoped-atomic-builtins.
enum class MemoryScope : int {
#if defined(__MEMORY_SCOPE_SYSTEM) && defined(__MEMORY_SCOPE_DEVICE)
``````````
</details>
https://github.com/llvm/llvm-project/pull/147836
More information about the libc-commits
mailing list