aboutsummaryrefslogtreecommitdiff
path: root/ycm_extra_conf.py
blob: 3c2b399a7b32f334b1e9971826c3969f5ec68791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<<<<<<< Updated upstream
def FlagsForFile(filename, **kwargs):
    return {
        'flags': [
            '-Wall',
            '-Wextra',
            '-Werror',
            '-Wno-long-long',
            '-Wno-variadic-macros',
            '-fexceptions',
            '-ferror-limit=10000',
            '-DNDEBUG',
            '-std=c99',
            '-x', 'c',
            '-D_GNU_SOURCE',
            '-I.',
            '-I', '/usr/include/'
        ],
        'do_cache': True,
    }

# vim:set et sw=4 ts=4 tw=120:
=======
import os
import ycm_core

def FlagsForFile( filename, **kwargs ):
  return {
    'flags': [
      '-Wall',
      '-Wextra',
      '-Werror',
      '-Wno-long-long',
      '-Wno-variadic-macros',
      '-fexceptions',
      '-ferror-limit=10000',
      '-DNDEBUG',
      '-std=c99',
      '-x', 'c',
      '-D_GNU_SOURCE',
      '-I.',
      '-I', '/usr/include/'
    ],
    'do_cache': True,
  }

# vim:set et sw=2 ts=2 tw=120:
>>>>>>> Stashed changes
..