[libcxx-commits] [libcxx] [libc++] Add coding guidelines to the docs (PR #117051)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 22 01:13:45 PST 2024


================
@@ -0,0 +1,172 @@
+.. _CodingGuidelines:
+
+========================
+libc++ Coding Guidelines
+========================
+
+Use ``__ugly_names`` for implementation details
+===============================================
+
+Libc++ uses ``__ugly_names`` for implementation details. These names are reserved for implementations, so users may not
----------------
ldionne wrote:

We should mention that we do `_UglyName` for template parameters and typedefs, and `__ugly_names` for functions and classes.

https://github.com/llvm/llvm-project/pull/117051


More information about the libcxx-commits mailing list