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

bool check-style-clang-format.check_formatting (List[str] filenames, bool fix, bool verbose, int n_jobs)
 CHECK FORMATTING.
 
Tuple[str, bool, List[str]] check-style-clang-format.check_formatting_file (str filename, str clang_format_path, bool fix, bool verbose)
 
None check-style-clang-format.check_style (str path, bool enable_check_formatting, bool enable_check_whitespace, bool enable_check_tabs, bool fix, bool verbose, int n_jobs=1)
 CHECK STYLE.
 
bool check-style-clang-format.check_tabs (List[str] filenames, bool fix, bool verbose, int n_jobs)
 CHECK TABS.
 
Tuple[str, bool, List[str]] check-style-clang-format.check_tabs_file (str filename, bool fix, bool verbose)
 
bool check-style-clang-format.check_trailing_whitespace (List[str] filenames, bool fix, bool verbose, int n_jobs)
 CHECK TRAILING WHITESPACE.
 
Tuple[str, bool, List[str]] check-style-clang-format.check_trailing_whitespace_file (str filename, bool fix, bool verbose)
 
str check-style-clang-format.find_clang_format_path ()
 
Tuple[List[str], List[str], List[str]] check-style-clang-format.find_files_to_check_style (str path)
 
bool check-style-clang-format.skip_directory (str dirpath)
 AUXILIARY FUNCTIONS.
 
bool check-style-clang-format.skip_file_formatting (str path)
 
bool check-style-clang-format.skip_file_tabs (str path)
 
bool check-style-clang-format.skip_file_whitespace (str path)
 

Variables

 check-style-clang-format.action
 
argparse check-style-clang-format.args = parser.parse_args()
 
str check-style-clang-format.CLANG_FORMAT_GUARD_OFF = '// clang-format off'
 
str check-style-clang-format.CLANG_FORMAT_GUARD_ON = '// clang-format on'
 
list check-style-clang-format.CLANG_FORMAT_VERSIONS
 PARAMETERS.
 
 check-style-clang-format.default
 
list check-style-clang-format.DIRECTORIES_TO_SKIP
 
 check-style-clang-format.enable_check_formatting
 
 check-style-clang-format.enable_check_tabs
 
 check-style-clang-format.enable_check_whitespace
 
list check-style-clang-format.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.fix
 
 check-style-clang-format.help
 
 check-style-clang-format.int
 
 check-style-clang-format.n_jobs
 
argparse check-style-clang-format.parser
 MAIN.
 
 check-style-clang-format.path
 
int check-style-clang-format.TAB_SIZE = 4
 
 check-style-clang-format.try :
 
 check-style-clang-format.type
 
 check-style-clang-format.verbose