clang-tools 20.0.0git
Functions
rename_check Namespace Reference

Functions

None replaceInFileRegex (str fileName, str sFrom, str sTo)
 
None replaceInFile (str fileName, str sFrom, str sTo)
 
str generateCommentLineHeader (str filename)
 
str generateCommentLineSource (str filename)
 
str fileRename (str fileName, str sFrom, str sTo)
 
bool deleteMatchingLines (str fileName, str pattern)
 
List[str] getListOfFiles (str clang_tidy_path)
 
bool adapt_cmake (str module_path, str check_name_camel)
 
None adapt_module (str module_path, str module, str check_name, str check_name_camel)
 
None add_release_notes (str clang_tidy_path, str old_check_name, str new_check_name)
 
None main ()
 

Function Documentation

◆ adapt_cmake()

bool rename_check.adapt_cmake ( str  module_path,
str  check_name_camel 
)

Definition at line 127 of file rename_check.py.

Referenced by main().

◆ adapt_module()

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

Definition at line 156 of file rename_check.py.

Referenced by main().

◆ add_release_notes()

None rename_check.add_release_notes ( str  clang_tidy_path,
str  old_check_name,
str   new_check_name 
)

Definition at line 209 of file rename_check.py.

Referenced by main().

◆ deleteMatchingLines()

bool rename_check.deleteMatchingLines ( str  fileName,
str  pattern 
)

Definition at line 87 of file rename_check.py.

Referenced by main().

◆ fileRename()

str rename_check.fileRename ( str  fileName,
str  sFrom,
str  sTo 
)

Definition at line 78 of file rename_check.py.

Referenced by main().

◆ generateCommentLineHeader()

str rename_check.generateCommentLineHeader ( str  filename)

Definition at line 54 of file rename_check.py.

Referenced by main().

◆ generateCommentLineSource()

str rename_check.generateCommentLineSource ( str  filename)

Definition at line 66 of file rename_check.py.

Referenced by main().

◆ getListOfFiles()

List[str] rename_check.getListOfFiles ( str  clang_tidy_path)

Definition at line 104 of file rename_check.py.

Referenced by main().

◆ main()

None rename_check.main ( )

◆ replaceInFile()

None rename_check.replaceInFile ( str  fileName,
str  sFrom,
str  sTo 
)

Definition at line 38 of file rename_check.py.

Referenced by main().

◆ replaceInFileRegex()

None rename_check.replaceInFileRegex ( str  fileName,
str  sFrom,
str  sTo 
)

Definition at line 20 of file rename_check.py.

Referenced by main().