2.1.23.1. cli.pre_commit_scripts.check_cpp_style_comment

Check source files for the presence of C++-style comments (//).

This script scans one or more files and reports any lines that contain C++-style comments, which are disallowed. It is intended for use with pre-commit.

Functions

check_file(files)

Check a list of files for C++-style comments (//).

main([argv])

Command-line interface for checking files for C++-style comments.