clang-tools 20.0.0git
Functions
add_new_check Namespace Reference

Functions

bool adapt_cmake (str module_path, str check_name_camel)
 
None write_header (str module_path, str module, str namespace, str check_name, str check_name_camel, str description, str lang_restrict)
 
None write_implementation (str module_path, str module, str namespace, str check_name_camel)
 
str get_module_filename (str module_path, str module)
 
None adapt_module (str module_path, str module, str check_name, str check_name_camel)
 
None add_release_notes (str module_path, str module, str check_name, str description)
 
None write_test (str module_path, str module, str check_name, str test_extension, Optional[str] test_standard)
 
str get_actual_filename (str dirname, str filename)
 
None update_checks_list (str clang_tidy_path)
 
None write_docs (str module_path, str module, str check_name)
 
str get_camel_name (str check_name)
 
str get_camel_check_name (str check_name)
 
None main ()
 

Function Documentation

◆ adapt_cmake()

bool add_new_check.adapt_cmake ( str  module_path,
str  check_name_camel 
)

Definition at line 25 of file add_new_check.py.

Referenced by main().

◆ adapt_module()

None add_new_check.adapt_module ( str  module_path,
str  module,
str  check_name,
str   check_name_camel 
)

Definition at line 203 of file add_new_check.py.

References get_module_filename().

Referenced by main().

◆ add_release_notes()

None add_new_check.add_release_notes ( str  module_path,
str  module,
str  check_name,
str   description 
)

Definition at line 270 of file add_new_check.py.

Referenced by main().

◆ get_actual_filename()

str add_new_check.get_actual_filename ( str  dirname,
str  filename 
)

Definition at line 377 of file add_new_check.py.

Referenced by update_checks_list().

◆ get_camel_check_name()

str add_new_check.get_camel_check_name ( str  check_name)

Definition at line 643 of file add_new_check.py.

References get_camel_name().

Referenced by main(), and update_checks_list().

◆ get_camel_name()

str add_new_check.get_camel_name ( str  check_name)

Definition at line 639 of file add_new_check.py.

Referenced by get_camel_check_name(), and update_checks_list().

◆ get_module_filename()

str add_new_check.get_module_filename ( str  module_path,
str  module 
)

Definition at line 192 of file add_new_check.py.

Referenced by adapt_module(), and update_checks_list().

◆ main()

None add_new_check.main ( )

◆ update_checks_list()

None add_new_check.update_checks_list ( str  clang_tidy_path)

Definition at line 391 of file add_new_check.py.

References get_actual_filename(), get_camel_check_name(), get_camel_name(), and get_module_filename().

Referenced by main().

◆ write_docs()

None add_new_check.write_docs ( str  module_path,
str  module,
str  check_name 
)

Definition at line 615 of file add_new_check.py.

Referenced by main().

◆ write_header()

None add_new_check.write_header ( str  module_path,
str  module,
str  namespace,
str  check_name,
str  check_name_camel,
str  description,
str  lang_restrict 
)

Definition at line 59 of file add_new_check.py.

Referenced by main().

◆ write_implementation()

None add_new_check.write_implementation ( str  module_path,
str  module,
str  namespace,
str   check_name_camel 
)

Definition at line 142 of file add_new_check.py.

Referenced by main().

◆ write_test()

None add_new_check.write_test ( str  module_path,
str  module,
str  check_name,
str  test_extension,
Optional[str]  test_standard 
)

Definition at line 334 of file add_new_check.py.

Referenced by main().