clang-tools  15.0.0git
Functions
add_new_check Namespace Reference

Functions

def adapt_cmake (module_path, check_name_camel)
 
def write_header (module_path, module, namespace, check_name, check_name_camel)
 
def write_implementation (module_path, module, namespace, check_name_camel)
 
def get_module_filename (module_path, module)
 
def adapt_module (module_path, module, check_name, check_name_camel)
 
def add_release_notes (module_path, module, check_name)
 
def write_test (module_path, module, check_name, test_extension)
 
def get_actual_filename (dirname, filename)
 
def update_checks_list (clang_tidy_path)
 
def write_docs (module_path, module, check_name)
 
def get_camel_name (check_name)
 
def get_camel_check_name (check_name)
 
def main ()
 

Function Documentation

◆ adapt_cmake()

def add_new_check.adapt_cmake (   module_path,
  check_name_camel 
)

Definition at line 22 of file add_new_check.py.

Referenced by main().

◆ adapt_module()

def add_new_check.adapt_module (   module_path,
  module,
  check_name,
  check_name_camel 
)

Definition at line 169 of file add_new_check.py.

References get_module_filename().

Referenced by main().

◆ add_release_notes()

def add_new_check.add_release_notes (   module_path,
  module,
  check_name 
)

Definition at line 226 of file add_new_check.py.

Referenced by main().

◆ get_actual_filename()

def add_new_check.get_actual_filename (   dirname,
  filename 
)

Definition at line 303 of file add_new_check.py.

Referenced by update_checks_list().

◆ get_camel_check_name()

def add_new_check.get_camel_check_name (   check_name)

Definition at line 523 of file add_new_check.py.

References get_camel_name().

Referenced by main(), and update_checks_list().

◆ get_camel_name()

def add_new_check.get_camel_name (   check_name)

Definition at line 518 of file add_new_check.py.

References clang::tidy::cppcoreguidelines.join().

Referenced by get_camel_check_name(), and update_checks_list().

◆ get_module_filename()

def add_new_check.get_module_filename (   module_path,
  module 
)

Definition at line 161 of file add_new_check.py.

References list().

Referenced by adapt_module(), and update_checks_list().

◆ main()

def add_new_check.main ( )

◆ update_checks_list()

def add_new_check.update_checks_list (   clang_tidy_path)

◆ write_docs()

def add_new_check.write_docs (   module_path,
  module,
  check_name 
)

Definition at line 502 of file add_new_check.py.

Referenced by main().

◆ write_header()

def add_new_check.write_header (   module_path,
  module,
  namespace,
  check_name,
  check_name_camel 
)

Definition at line 56 of file add_new_check.py.

Referenced by main().

◆ write_implementation()

def add_new_check.write_implementation (   module_path,
  module,
  namespace,
  check_name_camel 
)

Definition at line 109 of file add_new_check.py.

Referenced by main().

◆ write_test()

def add_new_check.write_test (   module_path,
  module,
  check_name,
  test_extension 
)

Definition at line 279 of file add_new_check.py.

Referenced by main().