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

Update LLVM lexer to use keywords of LLVM 12.0. #1824

Merged
merged 1 commit into from May 31, 2021

Commits on May 28, 2021

  1. Update LLVM lexer to use keywords of LLVM 12.0.

    The keywords are based on the extraction of keywords the LLVM 12.0 lexer
    source code. They were taken from the `KEYWORD` and `INSTKEYWORD` macros
    for the 'Keyword' tokens, and 'Type' tokens were from the `TYPEKEYWORD`
    macro. The keywords were then sorted against the current set.
    
    Due to formatting issues in the arrays, the actual Type diff is:
    
    ``` diff
    +x86_mmx
    +x86_amx
    ```
    
    and the Keyword diff is:
    
    ``` diff
    +aarch64_sve_vector_pcs
    +aarch64_vector_pcs
    +alwaysInline
    +amdgpu_gfx
    +blockcount
    +byref
    +callbr
    +canAutoHide
    +cfguard_checkcc
    +dso_local_equivalent
    +fneg
    +mustprogress
    +nocallback
    +nofree
    +noInline
    +nomerge
    +noprofile
    +nosync
    +noundef
    +null_pointer_is_valid
    +param
    +params
    +partition
    +preallocated
    +sanitize_memtag
    +speculative_load_hardening
    +tailcc
    +typeidCompatibleVTable
    +varFlags
    +vcall_visibility
    +virtFunc
    +vscale
    +vTableFuncs
    +x
    ```
    frasercrmck committed May 28, 2021
    Configuration menu
    Copy the full SHA
    46fe072 View commit details
    Browse the repository at this point in the history