A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
check-style-clang-format.py File Reference

Go to the source code of this file.

Namespaces

namespace  check
 -style-clang-format
 
namespace  check-style-clang-format
 

Functions

Tuple[str, bool, List[str]] check-style-clang-format.check_formatting_file (str filename, bool fix, bool verbose, str clang_format_path)
 CHECK STYLE FUNCTIONS.
 
Tuple[bool, str, List[str]] check-style-clang-format.check_include_prefixes_line (str line, str filename, int line_number)
 
Tuple[bool, str, List[str]] check-style-clang-format.check_licenses_line (str line, str filename, int line_number)
 
Tuple[str, bool, List[str]] check-style-clang-format.check_manually_file (str filename, bool fix, bool verbose, bool respect_clang_format_guards, Callable[[str, str, int], Tuple[bool, str, List[str]]] check_style_line_function)
 
bool check-style-clang-format.check_style_clang_format (List[str] paths, Dict[str, bool] checks_enabled, bool fix, bool verbose, int n_jobs=1)
 CHECK STYLE MAIN FUNCTIONS.
 
bool check-style-clang-format.check_style_files (str style_check_str, Callable[..., Tuple[str, bool, List[str]]] check_style_file_function, List[str] filenames, bool fix, bool verbose, int n_jobs, **kwargs)
 
Tuple[bool, str, List[str]] check-style-clang-format.check_tabs_line (str line, str filename, int line_number)
 
Tuple[bool, str, List[str]] check-style-clang-format.check_whitespace_line (str line, str filename, int line_number)
 
str check-style-clang-format.find_clang_format_path ()
 
Dict[str, List[str]] check-style-clang-format.find_files_to_check_style (List[str] paths)
 
bool check-style-clang-format.should_analyze_directory (str dirpath)
 AUXILIARY FUNCTIONS.
 
bool check-style-clang-format.should_analyze_file (str path, List[str] files_to_check, List[str] file_extensions_to_check)
 

Variables

 check-style-clang-format.action
 
bool check-style-clang-format.all_checks_successful
 
 check-style-clang-format.args = parser.parse_args()
 
list check-style-clang-format.CHECKS
 
list check-style-clang-format.CLANG_FORMAT_VERSIONS
 PARAMETERS.
 
 check-style-clang-format.default
 
list check-style-clang-format.DIRECTORIES_TO_SKIP
 
dict check-style-clang-format.FILE_EXTENSIONS_TO_CHECK = {c: [] for c in CHECKS}
 
dict check-style-clang-format.FILES_TO_CHECK = {c: [] for c in CHECKS}
 
list check-style-clang-format.FILES_TO_SKIP
 
list check-style-clang-format.FORMAT_GUARD_OFF
 
list check-style-clang-format.FORMAT_GUARD_ON
 
 check-style-clang-format.help
 
 check-style-clang-format.nargs
 
 check-style-clang-format.parser
 
 check-style-clang-format.sep
 
int check-style-clang-format.TAB_SIZE = 4
 
 check-style-clang-format.type