1 " Vim file type detection rules for GCC development
3 " Copyright (C) 2018 Free Software Foundation, Inc.
5 " This script is free software; you can redistribute it and/or modify
6 " it under the terms of the GNU General Public License as published by
7 " the Free Software Foundation; either version 3, or (at your option)
10 augroup filetypedetect
12 au BufRead match.pd setf gcc-match
14 " Match RTL dump file names such as test.c.234r.pass-name
15 au BufRead *.[1-3][0-9][0-9]r.* setf gcc-rtl
17 " Match GIMPLE and IPA dump file names
18 au BufRead *.[0-2][0-9][0-9][ti].* setf gimple