Functions | Variables
.ycm_extra_conf.py File Reference

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

def DirectoryOfThisScript ( )

Definition at line 85 of file .ycm_extra_conf.py.

def FlagsForFile (   filename,
  kwargs 
)

Definition at line 141 of file .ycm_extra_conf.py.

def GetCompilationInfoForFile (   filename)

Definition at line 123 of file .ycm_extra_conf.py.

def IsHeaderFile (   filename)

Definition at line 118 of file .ycm_extra_conf.py.

def MakeRelativePathsInFlagsAbsolute (   flags,
  working_directory 
)

Definition at line 89 of file .ycm_extra_conf.py.

Variable Documentation

string compilation_database_folder = ''

Definition at line 76 of file .ycm_extra_conf.py.

database = ycm_core.CompilationDatabase( compilation_database_folder )

Definition at line 79 of file .ycm_extra_conf.py.

list flags
Initial value:
1 = [
2 '-Wall',
3 '-Wextra',
4 '-Werror',
5 '-fexceptions',
6 # THIS IS IMPORTANT! Without a "-std=<something>" flag, clang won't know which# language to use when compiling headers. So it will guess. Badly. So C++# headers will be compiled as C headers. You don't want that so ALWAYS specify
7 # a "-std=<something>".
8 # For a C project, you would set this to something like 'c99' instead of
9 # 'c++11'.
10 '-std=c++03',
11 # ...and the same thing goes for the magic -x option which specifies the
12 # language that the files to be compiled are written in. This is mostly
13 # relevant for c++ headers.
14 # For a C project, you would set this to 'c' instead of 'c++'.
15 '-x',
16 'c++',
17 '-isystem', "/opt/ros/%s/include" % os.environ.get('ROS_DISTRO', 'indigo'),
18 '-isystem', '/usr/include/Poco',
19 '-isystem', '/usr/include',
20 '-I', '.',
21 '-I', './include',
22 '-I', '../devel/include',
23 # ROS flags
24 '-DROSCONSOLE_BACKEND_LOG4CXX',
25 #'-DROS_PACKAGE_NAME="mavros"',
26 ]

Definition at line 37 of file .ycm_extra_conf.py.

list SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]

Definition at line 83 of file .ycm_extra_conf.py.



ntpd_driver
Author(s): Vladimir Ermakov
autogenerated on Thu Feb 25 2021 03:06:49