[libc-commits] [libc] [libc][docs] generate docs for ctype.h #87833 (PR #87946)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Apr 8 09:56:30 PDT 2024


================
@@ -1,7 +1,46 @@
-{
-  "functions": {
-    "isalnum": null,
-    "isalpha": null,
-    "isblank": null
-  }
+{	
+	"functions": {
+		"isalnum": {
+			"defined": "7.4.1.1"
+		},
----------------
nickdesaulniers wrote:

the indentation is still funky here.  Are you using tabs by accident rather than spaces?  Your editor should be configurable; I even go so far in my editor as to make tabs visible characters.

Worst case, you could paste this into some online formatter, format it to use 2 spaces for indentation consistently, then paste it back.

But this will continue to be an issue when you contributor to other projects, so I do recommend sorting out your editor as a proper long term fix.

Luckily, this isn't an issue for parsing the json to generate the tables, but I'd like to keep the indentation minimal and consistent.

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


More information about the libc-commits mailing list