elixir/utils
Théo Lebrun e1bdface0c templates/ident: improve "Identifier not used" message
"Identifier not used" is weird, replace it by "unknown identifier" and
 give the search identifier name in the header.

Also improve the autocomplete comment. Make it human-friendly and
explain why people got autocompleted to a symbol that does not exist.
Also, only show it if the symbol actually exists. That way we only
tell "maybe autocomplete lead you here" only in cases where
autocomplete can actually lead you here.

To test this feature:
 - search for any random symbol, you'll see "Unknown identifier '...'"
 - search for a symbol that exists in another version as the selected
   one. For example __NR_epoll_pwait2 appeared in musl v1.2.5. You'll
   see the same header message plus a comment about how the symbol
   exists in another version.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
2025-11-05 14:18:41 +01:00
..
index projects: add iproute2 project 2025-10-15 11:58:07 +02:00
query.py templates/ident: improve "Identifier not used" message 2025-11-05 14:18:41 +01:00
speedtest.py utils/speedtest: Make compatible with code changes 2025-03-07 16:16:34 +01:00