Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang] Fix assertion failure in injectEmbedTokens #99624

Merged
merged 2 commits into from
Jul 22, 2024

Commits on Jul 19, 2024

  1. [clang] Fix assertion failure in injectEmbedTokens

    It seems for C++ lexer has some caching ability which doesn't expect
    injecting "new" tokens in the middle of the cache. Technically #embed
    tokens are not completely new since they have already been read from the
    file and there was #embed annotation token in this place, so set
    `reinject` flag for them to silence assertion.
    Fznamznon committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    4922e1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd4e8f3 View commit details
    Browse the repository at this point in the history