A Discrete-Event Network Simulator
API
check-style-clang-format.py File Reference

Go to the source code of this file.

Namespaces

 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. More...
 
Tuple[bool, str, List[str]] check-style-clang-format.check_include_prefixes_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, bool enable_check_include_prefixes, bool enable_check_formatting, bool enable_check_whitespace, bool enable_check_tabs, bool fix, bool verbose, int n_jobs=1)
 CHECK STYLE MAIN FUNCTIONS. More...
 
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 ()
 
Tuple[List[str], List[str], List[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. More...
 
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()
 
string check-style-clang-format.CLANG_FORMAT_GUARD_OFF = "// clang-format off"
 
string check-style-clang-format.CLANG_FORMAT_GUARD_ON = "// clang-format on"
 
list check-style-clang-format.CLANG_FORMAT_VERSIONS
 PARAMETERS. More...
 
 check-style-clang-format.default
 
list check-style-clang-format.DIRECTORIES_TO_SKIP
 
list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_FORMATTING
 
list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_INCLUDE_PREFIXES = FILE_EXTENSIONS_TO_CHECK_FORMATTING
 
list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_TABS
 
list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_WHITESPACE
 
list check-style-clang-format.FILES_TO_CHECK_WHITESPACE
 
list check-style-clang-format.FILES_TO_SKIP
 
 check-style-clang-format.help
 
 check-style-clang-format.nargs
 
 check-style-clang-format.parser
 MAIN. More...
 
int check-style-clang-format.TAB_SIZE = 4
 
 check-style-clang-format.type