aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-09-08 16:01:15 -0600
committerJonathan Corbet <corbet@lwn.net>2025-09-18 10:19:53 -0600
commit370f430527ecd35938ad94167e45fc784f6e4d95 (patch)
tree87b29dccbd2864365da90c7e88b2e8ce595da8ec /scripts/lib/kdoc/kdoc_re.py
parentdocs: kdoc: Simplify the dump_function() prototype regexes (diff)
downloadwireguard-linux-370f430527ecd35938ad94167e45fc784f6e4d95.tar.xz
wireguard-linux-370f430527ecd35938ad94167e45fc784f6e4d95.zip
docs: kdoc: consolidate some of the macro-processing logic
The logic to handle macros is split in dump_function(); bring it all together into a single place and add a comment saying what's going on. Remove the unneeded is_define_proto variable, and tighten up the code a bit. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions