.ycm_extra_conf.py revision 0d8efe3535b3ce9ecbc2c6482007edfc3ac492d0
import itertools
import os
import subprocess
def GetFlagsFromMakefile(varname):
return subprocess.check_output([
def DirectoryOfThisScript():
if not working_directory:
return flags
new_flags = []
for path_flag in path_flags:
break
break
if new_flag:
return new_flags
def FlagsForFile(filename):
return {
'do_cache': True
}
'AM_CPPFLAGS',
'CPPFLAGS',
'AM_CFLAGS',
'CFLAGS',
]))
# these flags cause crashes in libclang, so remove them
# vim: set et ts=2 sw=2: