[libcxx-commits] [libcxx] [libc++] Add coding guidelines to the docs (PR #117051)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 25 01:41:44 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
----------------
philnik777 wrote:
I've decided to mention `_UglyNames`, but I'd rather not say to prefer any version over another for most symbols, since this isn't done in any uniform way for most symbols currently. The checks we have are quite restricted right now, so they would be quite awkward to explain in a concise way.
https://github.com/llvm/llvm-project/pull/117051
More information about the libcxx-commits
mailing list