webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
ycm_extra_conf Namespace Reference

Functions

def transform_relative_paths_to_absolute_paths (arguments, build_path)
 
def get_build_path ()
 
def FlagsForFile (filename, kwargs)
 

Variables

 original_file = __file__[:-1] if __file__.endswith(".pyc") else __file__
 
 parent_folder = os.path.abspath(os.path.dirname(original_file))
 
 link_file = os.path.join(parent_folder, os.readlink(original_file))
 
list FLAGS_PRECEDING_PATHS = ['-isystem', '-I', '-iquote', '--sysroot=']
 

Function Documentation

◆ FlagsForFile()

def ycm_extra_conf.FlagsForFile (   filename,
  kwargs 
)
This is the main entry point for YCM. Its interface is fixed.

Args:
  filename: (String) Path to source file being edited.

Returns:
  (Dictionary)
    'flags': (List of Strings) Command line flags.
    'do_cache': (Boolean) True if the result should be cached.

◆ get_build_path()

def ycm_extra_conf.get_build_path ( )

◆ transform_relative_paths_to_absolute_paths()

def ycm_extra_conf.transform_relative_paths_to_absolute_paths (   arguments,
  build_path 
)

Variable Documentation

◆ FLAGS_PRECEDING_PATHS

list ycm_extra_conf.FLAGS_PRECEDING_PATHS = ['-isystem', '-I', '-iquote', '--sysroot=']

◆ link_file

ycm_extra_conf.link_file = os.path.join(parent_folder, os.readlink(original_file))

◆ original_file

ycm_extra_conf.original_file = __file__[:-1] if __file__.endswith(".pyc") else __file__

◆ parent_folder

ycm_extra_conf.parent_folder = os.path.abspath(os.path.dirname(original_file))