[Utils] Add highlighting definition for byref IR attribute

This patch assumes `byref` can be handled identically to `byval`.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D85768
This commit is contained in:
Anatoly Trosinenko 2020-08-25 15:52:26 +03:00
parent b9f49d13fd
commit e1edc1c76d
3 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@
<item> zeroext </item>
<item> signext </item>
<item> inreg </item>
<item> byref </item>
<item> byval </item>
<item> sret </item>
<item> noalias </item>

View File

@ -55,6 +55,7 @@ syn keyword llvmKeyword
\ available_externally
\ blockaddress
\ builtin
\ byref
\ byval
\ c
\ catch

View File

@ -152,6 +152,7 @@ patterns:
\\bavailable_externally\\b|\
\\bblockaddress\\b|\
\\bbuiltin\\b|\
\\bbyref\\b|\
\\bbyval\\b|\
\\bc\\b|\
\\bcatch\\b|\