[PATCH] doc: fix list formatting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sphinx gives a warning on if_convert_phi()'s autodoc because
of some 'unknown indentation' caused by using the wrong marker
('#' instead of '*' or '#.').

Use the right markup: '*'.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 simplify.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/simplify.c b/simplify.c
index 6397f4268..7850bcdc6 100644
--- a/simplify.c
+++ b/simplify.c
@@ -179,10 +179,11 @@ static int if_convert_phi(struct instruction *insn)
 // @return: the unique result if the phi-node is trivial, NULL otherwise
 //
 // A phi-node is trivial if it has a single possible result:
-//	# all operands are the same
-//	# the operands are themselves defined by a chain or cycle of phi-nodes
+//	* all operands are the same
+//	* the operands are themselves defined by a chain or cycle of phi-nodes
 //		and the set of all operands involved contains a single value
 //		not defined by these phi-nodes
+//
 // Since the result is unique, these phi-nodes can be removed.
 static pseudo_t trivial_phi(pseudo_t pseudo, struct instruction *insn, struct pseudo_list **list)
 {
-- 
2.20.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux