[PATCH] D104017: [Utils] Add missing freeze and poison keyword highlights
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 03:10:55 PDT 2021
aqjune created this revision.
aqjune requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104017
Files:
llvm/utils/vim/syntax/llvm.vim
llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
Index: llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
===================================================================
--- llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
+++ llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
@@ -67,6 +67,7 @@
\\bfptrunc\\b|\
\\bfree\\b|\
\\bfrem\\b|\
+ \\bfreeze\\b|\
\\bfsub\\b|\
\\bfneg\\b|\
\\bgetelementptr\\b|\
@@ -335,6 +336,7 @@
\\bnull\\b|\
\\bzeroinitializer\\b|\
\\bundef\\b|\
+ \\bpoison\\b|\
\\bnull\\b|\
\\bnone\\b"
name: constant.language
Index: llvm/utils/vim/syntax/llvm.vim
===================================================================
--- llvm/utils/vim/syntax/llvm.vim
+++ llvm/utils/vim/syntax/llvm.vim
@@ -26,7 +26,7 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104017.351103.patch
Type: text/x-patch
Size: 1507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/ef3b201e/attachment.bin>
More information about the llvm-commits
mailing list