[libcxx-commits] [libcxx] Polishing documentation of libc++ (PR #132962)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 25 12:57:30 PDT 2025
================
@@ -79,9 +79,9 @@ and then check for ``#if _LIBCPP_SOMETHING_ENABLED`` instead of
and then checking for ``#ifdef _LIBCPP_SOMETHING_ENABLED``.
-This makes it significantly easier to catch missing includes, since Clang and GCC will warn when using and undefined
-marco inside an ``#if`` statement when using ``-Wundef``. Some macros in libc++ don't use this style yet, so this only
-applies when introducing a new macro.
+This makes it significantly easier to catch missing includes: Clang and GCC with ``-Wundef`` enabled will warn
+when using an undefined macro inside an ``#if`` statement. Some macros in libc++ don't use this style yet,
+so this guidelines only applies when introducing a new macro.
----------------
ldionne wrote:
```suggestion
so this guideline only applies when introducing a new macro.
```
https://github.com/llvm/llvm-project/pull/132962
More information about the libcxx-commits
mailing list