aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-14 10:15:15 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-14 11:20:12 +0100
commit90be5636395a90152fe5df439f3a862a286d05d1 (patch)
tree3e47f5f5f39c2395bf8fec793527e497d034349c
parenta6cb714a3903aa8f965d533254cab8b25f8ccf6a (diff)
downloadsparse-90be5636395a90152fe5df439f3a862a286d05d1.tar.gz
doc: add header for flow simplification related documentation
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--Documentation/api.rst1
-rw-r--r--flow.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/api.rst b/Documentation/api.rst
index 0cc83016..22b7dfd2 100644
--- a/Documentation/api.rst
+++ b/Documentation/api.rst
@@ -26,4 +26,5 @@ Optimization
~~~~~~~~~~~~
.. c:autodoc:: optimize.c
+.. c:autodoc:: flow.c
.. c:autodoc:: simplify.c
diff --git a/flow.c b/flow.c
index ef8d04e5..1c6abdca 100644
--- a/flow.c
+++ b/flow.c
@@ -1,10 +1,11 @@
/*
- * Flow - walk the linearized flowgraph, simplifying it as we
- * go along.
- *
* Copyright (C) 2004 Linus Torvalds
*/
+///
+// Flow simplification
+// -------------------
+
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>