-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Describe the issue
C-style comments don't get highlighted in LLVM IR.
Which language seems to have the issue?
LLVM IR.
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce
/* ... */Expected behavior
This should be highlighted as a C-style comment.
Additional context
https://llvm.org/docs/LangRef.html#identifiers
Comments are delimited with a ‘;’ and go until the end of line. Alternatively, comments can start with /* and terminate with */.
To my knowledge, C-style comments are a fairly recent feature (2025), so it's unsurprising that this isn't supported yet.