Skip to content

(llvm) No highlighting for block (C-style) comments #4328

@eisenwave

Description

@eisenwave

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions