clang-tools  14.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 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 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 162 of file add_new_check.py.

Referenced by main().

◆ add_release_notes()

def add_new_check.add_release_notes (   module_path,
  module,
  check_name 
)

Definition at line 222 of file add_new_check.py.

Referenced by main().

◆ get_actual_filename()

def add_new_check.get_actual_filename (   dirname,
  filename 
)

Definition at line 298 of file add_new_check.py.

Referenced by update_checks_list().

◆ get_camel_name()

def add_new_check.get_camel_name (   check_name)

Definition at line 417 of file add_new_check.py.

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

Referenced by main(), and update_checks_list().

◆ main()

def add_new_check.main ( )

◆ update_checks_list()

def add_new_check.update_checks_list (   clang_tidy_path)

Definition at line 312 of file add_new_check.py.

References get_actual_filename(), and get_camel_name().

Referenced by main().

◆ write_docs()

def add_new_check.write_docs (   module_path,
  module,
  check_name 
)

Definition at line 401 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 110 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 275 of file add_new_check.py.

Referenced by main().