On 7/22/21 5:35 AM, Simon Glass wrote:
This tool has nothing to do with testing. It is for refactoring code
automatically using a 'semantic patch' tool.
Create a new section for 'refactoring' and move it into there. It is
likely that other topics may fall under the same heading, such as
using moveconfig and search/replace tools.
Signed-off-by: Simon Glass <s...@chromium.org>
---
This patch was submitted previously:
http://patchwork.ozlabs.org/project/uboot/patch/20210304135118.643277-38-...@chromium.org/
It was rejected, but I think that was incorrect.
doc/develop/index.rst | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/develop/index.rst b/doc/develop/index.rst
index 901d39f4564..2bd7c4a1a3a 100644
--- a/doc/develop/index.rst
+++ b/doc/develop/index.rst
@@ -41,7 +41,14 @@ Testing
:maxdepth: 1
testing
- coccinelle
py_testing
tests_writing
tests_sandbox
+
+Refactoring
+-----------
Coccinelle is used to detect common coding issues (e.g. using 0 instead
of NULL for pointers). How does this relate to refactoring?
Best regards
Heinrich
+
+.. toctree::
+ :maxdepth: 1
+
+ coccinelle