.ycm_extra_conf.py revision d0069261a71665a965b26d208dee098ea629cbbe
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: