File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ if !exists("cpp_no_cpp11")
41
41
syn keyword cppConstant ATOMIC_INT_LOCK_FREE ATOMIC_LONG_LOCK_FREE
42
42
syn keyword cppConstant ATOMIC_LLONG_LOCK_FREE ATOMIC_POINTER_LOCK_FREE
43
43
syn region cppRawString matchgroup =cppRawStringDelimiter start =+ \% (u8\| [uLU]\)\= R"\z ([[:alnum:]_{}[\] #<>%:;.?*\+\- /\^ &|~!=,"']\{ ,16}\) (+ end=+)\z 1"+ contains=@Spell
44
+ syn match cppCast " \<\( const\| static\| dynamic\) _pointer_cast\s *<" me =e - 1
45
+ syn match cppCast " \<\( const\| static\| dynamic\) _pointer_cast\s *$"
44
46
endif
45
47
46
48
" C++ 14 extensions
@@ -52,6 +54,12 @@ if !exists("cpp_no_cpp14")
52
54
syn case match
53
55
endif
54
56
57
+ " C++ 17 extensions
58
+ if ! exists (" cpp_no_cpp17" )
59
+ syn match cppCast " \< reinterpret_pointer_cast\s *<" me =e - 1
60
+ syn match cppCast " \< reinterpret_pointer_cast\s *$"
61
+ endif
62
+
55
63
" The minimum and maximum operators in GNU C++
56
64
syn match cppMinMax " [<>]?"
57
65
You can’t perform that action at this time.
0 commit comments