On Sun, Mar 5, 2017 at 11:12 PM, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: > And to be honest, the current name 'external_declaration()' is far > from being a good name eithers: it doesn't give a hint on *what* > the function is doing and it's not only for 'extern' declaration. Actually, external_declaration is a GREAT name. The reason is that, it is base on the C grammar BNF form. <external-declaration> ::= <function-definition> | <declaration> It consume just enough token to complete a "<external-declaration>". Same as a lot of other sparse parser function name. "struct-or-union", "pointer" etc. In that regard, it is following a consistent naming scheme. It is easier to match code to the BNF form. Conceptional clear about what the code supposed to do. I did not come up with that, Linus did. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html