Author: Zeyi Xu
Date: 2026-07-29T15:54:54+08:00
New Revision: b2b5c13f69e4cfcba339967e0c16b06b081b5e2e

URL: 
https://github.com/llvm/llvm-project/commit/b2b5c13f69e4cfcba339967e0c16b06b081b5e2e
DIFF: 
https://github.com/llvm/llvm-project/commit/b2b5c13f69e4cfcba339967e0c16b06b081b5e2e.diff

LOG: [clang-tidy][docs] Fix broken redundant-void-arg documentation. NFC. 
(#212692)

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/modernize/redundant-void-arg.md

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/modernize/redundant-void-arg.md 
b/clang-tools-extra/docs/clang-tidy/checks/modernize/redundant-void-arg.md
index a841e0179dfc4..e886b85b21239 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize/redundant-void-arg.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/redundant-void-arg.md
@@ -7,11 +7,12 @@ Finds and removes redundant `void` argument lists.
 Works in C++ and in C23 and up.
 
 Examples:
-: | Initial code                      | Code with applied fixes   |
-  | --------------------------------- | ------------------------- |
-  | `int f(void);`                    | `int f();`                |
-  | `int (*f(void))(void);`           | `int (*f())();`           |
-  | `typedef int (*f_t(void))(void);` | `typedef int (*f_t())();` |
-  | `void (C::*p)(void);`             | `void (C::*p)();`         |
-  | `C::C(void) {}`                   | `C::C() {}`               |
-  | `C::~C(void) {}`                  | `C::~C() {}`              |
+
+| Initial code                      | Code with applied fixes   |
+| --------------------------------- | ------------------------- |
+| `int f(void);`                    | `int f();`                |
+| `int (*f(void))(void);`           | `int (*f())();`           |
+| `typedef int (*f_t(void))(void);` | `typedef int (*f_t())();` |
+| `void (C::*p)(void);`             | `void (C::*p)();`         |
+| `C::C(void) {}`                   | `C::C() {}`               |
+| `C::~C(void) {}`                  | `C::~C() {}`              |


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to