HomeFreeBSD

cstyle: Allow URLs in C++ comments

Description

cstyle: Allow URLs in C++ comments

If a C++ comment contained a URL, the :// part of the URL would
trigger an error because there was no trailing blank, but trailing
blanks make for an invalid URL. Modify the check to ignore text
within the C++ comment.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Lindee <chris.lindee+github@gmail.com>
Closes #13987

Details

Provenance
ColMelvin <chris.lindee+github@gmail.com>Authored on Oct 13 2022, 6:05 PM
GitHub <noreply@github.com>Committed on Oct 13 2022, 6:05 PM
Parents
rGab8d9c1783c4: Cleanup: 64-bit kernel module parameters should use fixed width types
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG642c2dee44ac: cstyle: Allow URLs in C++ comments (authored by ColMelvin <chris.lindee+github@gmail.com>).Oct 13 2022, 6:05 PM