xref: /netbsd-src/external/gpl3/gcc/dist/contrib/vim-gcc-dev/ftdetect/gcc-dev.vim (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1*181254a7Smrg" Vim file type detection rules for GCC development
2*181254a7Smrg"
3*181254a7Smrg" Copyright (C) 2018 Free Software Foundation, Inc.
4*181254a7Smrg"
5*181254a7Smrg" This script is free software; you can redistribute it and/or modify
6*181254a7Smrg" it under the terms of the GNU General Public License as published by
7*181254a7Smrg" the Free Software Foundation; either version 3, or (at your option)
8*181254a7Smrg" any later version
9*181254a7Smrg
10*181254a7Smrgaugroup filetypedetect
11*181254a7Smrg
12*181254a7Smrg  au BufRead match.pd                setf gcc-match
13*181254a7Smrg
14*181254a7Smrg  " Match RTL dump file names such as test.c.234r.pass-name
15*181254a7Smrg  au BufRead *.[1-3][0-9][0-9]r.*    setf gcc-rtl
16*181254a7Smrg
17*181254a7Smrg  " Match GIMPLE and IPA dump file names
18*181254a7Smrg  au BufRead *.[0-2][0-9][0-9][ti].* setf gimple
19*181254a7Smrg
20*181254a7Smrgaugroup END
21