Functions | Variables
.ycm_extra_conf.py File Reference

Go to the source code of this file.

Functions

def DirectoryOfThisScript
def FlagsForFile
def GetCompilationInfoForFile
def IsHeaderFile
def MakeRelativePathsInFlagsAbsolute

Variables

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

Function Documentation

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

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:
00001 [
00002 '-Wall',
00003 '-Wextra',
00004 '-Werror',
00005 '-fexceptions',
00006 # THIS IS IMPORTANT! Without a "-std=<something>" flag, clang won't know which
00007 # language to use when compiling headers. So it will guess. Badly. So C++
00008 # headers will be compiled as C headers. You don't want that so ALWAYS specify
00009 # a "-std=<something>".
00010 # For a C project, you would set this to something like 'c99' instead of
00011 # 'c++11'.
00012 '-std=c++03',
00013 # ...and the same thing goes for the magic -x option which specifies the
00014 # language that the files to be compiled are written in. This is mostly
00015 # relevant for c++ headers.
00016 # For a C project, you would set this to 'c' instead of 'c++'.
00017 '-x',
00018 'c++',
00019 '-isystem', "/opt/ros/%s/include" % os.environ.get('ROS_DISTRO', 'indigo'),
00020 '-isystem', '/usr/include/Poco',
00021 '-isystem', '/usr/include',
00022 '-I', '.',
00023 '-I', './include',
00024 '-I', '../devel/include',
00025 # ROS flags
00026 '-DROSCONSOLE_BACKEND_LOG4CXX',
00027 #'-DROS_PACKAGE_NAME="mavros"',
00028 ]

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 Jun 6 2019 21:47:01