]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - .editorconfig
Fix heap-use-after-free in index-cached with --disable-threading
[thirdparty/binutils-gdb.git] / .editorconfig
CommitLineData
459140ad
SM
1# Copyright 2022 Free Software Foundation, Inc.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# This file helps editors auto-configure whitespace settings.
17#
18# See here for more information about the format and editor support:
19#
20# https://editorconfig.org/
21
22root = true
23
24[*]
25end_of_line = lf
26insert_final_newline = true
27tab_width = 8
28
29# Makefile
30[{Makefile*,*.mk}]
31indent_style = tab
32indent_size = 8
33
34# C/C++
35[*.{c,h,cc}]
36indent_style = tab
37indent_size = 2
38
39# Expect / TCL
40[*.{exp,tcl}]
41indent_style = tab
42indent_size = 4
43
44# Python
45[*.py]
46indent_style = space
47indent_size = 4