Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions | Variables
.ycm_extra_conf.py File Reference

Functions

def DirectoryOfThisScript
 
def MakeRelativePathsInFlagsAbsolute
 
def IsHeaderFile
 
def GetCompilationInfoForFile
 
def FlagsForFile
 

Variables

list flags
 
string compilation_database_folder = ''
 
tuple database = ycm_core.CompilationDatabase( compilation_database_folder )
 
list SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
 

Function Documentation

def DirectoryOfThisScript ( )
def FlagsForFile (   filename,
  kwargs 
)
def GetCompilationInfoForFile (   filename)
def IsHeaderFile (   filename)
def MakeRelativePathsInFlagsAbsolute (   flags,
  working_directory 
)

Variable Documentation

string compilation_database_folder = ''
database = ycm_core.CompilationDatabase( compilation_database_folder )
list flags
Initial value:
1 = [
2 '-Wall',
3 '-Wextra',
4 '-Werror',
5 '-Wno-long-long',
6 '-Wno-variadic-macros',
7 '-fexceptions',
8 # THIS IS IMPORTANT! Without a "-std=<something>" flag, clang won't know which
9 # language to use when compiling headers. So it will guess. Badly. So C++
10 # headers will be compiled as C headers. You don't want that so ALWAYS specify
11 # a "-std=<something>".
12 # For a C project, you would set this to something like 'c99' instead of
13 # 'c++11'.
14 '-std=c++1y',
15 # ...and the same thing goes for the magic -x option which specifies the
16 # language that the files to be compiled are written in. This is mostly
17 # relevant for c++ headers.
18 # For a C project, you would set this to 'c' instead of 'c++'.
19 '-x', 'c++',
20 '-isystem', '/System/Library/Frameworks/Python.framework/Headers',
21 '-isystem', '/usr/include',
22 '-isystem', '/usr/local/include',
23 '-isystem', '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1',
24 '-isystem', '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include',
25 '-I', 'gamgee',
26 '-I', 'lib/htslib'
27 ]
list SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]