forked from OSchip/llvm-project
[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:
parent
b9f49d13fd
commit
e1edc1c76d
|
@ -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>
|
||||
|
|
|
@ -55,6 +55,7 @@ syn keyword llvmKeyword
|
|||
\ available_externally
|
||||
\ blockaddress
|
||||
\ builtin
|
||||
\ byref
|
||||
\ byval
|
||||
\ c
|
||||
\ catch
|
||||
|
|
|
@ -152,6 +152,7 @@ patterns:
|
|||
\\bavailable_externally\\b|\
|
||||
\\bblockaddress\\b|\
|
||||
\\bbuiltin\\b|\
|
||||
\\bbyref\\b|\
|
||||
\\bbyval\\b|\
|
||||
\\bc\\b|\
|
||||
\\bcatch\\b|\
|
||||
|
|
Loading…
Reference in New Issue