Skip to content

Commit

Permalink
add support for fastcc and friends
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21979 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed May 13, 2005
1 parent d0c4a76 commit af26d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/emacs/llvm-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
;; Hex constants
'("0x[0-9A-Fa-f]+" . font-lock-preprocessor-face)
;; Keywords
'("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|undef\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile" . font-lock-keyword-face)
'("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|undef\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile\\|fastcc\\|coldcc\\|cc" . font-lock-keyword-face)
;; Types
'("void\\|bool\\|sbyte\\|ubyte\\|u?short\\|u?int\\|u?long\\|float\\|double\\|type\\|label\\|opaque" . font-lock-type-face)
;; Arithmetic and Logical Operators
Expand Down
2 changes: 1 addition & 1 deletion utils/vim/llvm.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ syn keyword llvmStatement declare global constant const
syn keyword llvmStatement internal uninitialized external implementation
syn keyword llvmStatement linkonce weak appending
syn keyword llvmStatement undef null to except target endian pointersize deplibs
syn keyword llvmStatement big little volatile
syn keyword llvmStatement big little volatile fastcc coldcc cc

"syn match llvmFunction /%[a-zA-Z\$._\-][a-zA-Z\$._\-0-9]*/
syn match llvmNumber /\<\d\+\>/
Expand Down

0 comments on commit af26d3e

Please sign in to comment.