[Utils] Add missing freeze and poison keyword highlights

This patch adds missing keyword highlights for freeze and poison

Reviewed By: MaskRay, porglezomp

Differential Revision: https://reviews.llvm.org/D104017
This commit is contained in:
Juneyoung Lee 2021-06-14 09:21:01 +09:00
parent da24e6d43e
commit 594febf05b
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ syn keyword llvmStatement add addrspacecast alloca and arcp ashr atomicrmw
syn keyword llvmStatement bitcast br catchpad catchswitch catchret call callbr
syn keyword llvmStatement cleanuppad cleanupret cmpxchg eq exact extractelement
syn keyword llvmStatement extractvalue fadd fast fcmp fdiv fence fmul fpext
syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub fneg getelementptr
syn keyword llvmStatement fptosi fptoui fptrunc free freeze frem fsub fneg getelementptr
syn keyword llvmStatement icmp inbounds indirectbr insertelement insertvalue
syn keyword llvmStatement inttoptr invoke landingpad load lshr malloc max min
syn keyword llvmStatement mul nand ne ninf nnan nsw nsz nuw oeq oge ogt ole

View File

@ -67,6 +67,7 @@ patterns:
\\bfptrunc\\b|\
\\bfree\\b|\
\\bfrem\\b|\
\\bfreeze\\b|\
\\bfsub\\b|\
\\bfneg\\b|\
\\bgetelementptr\\b|\
@ -335,6 +336,7 @@ patterns:
\\bnull\\b|\
\\bzeroinitializer\\b|\
\\bundef\\b|\
\\bpoison\\b|\
\\bnull\\b|\
\\bnone\\b"
name: constant.language