1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[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 1cd139275c
commit 1adb0ef206
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|\