llvm/llvm-project
View on GitHubReplace /* ... */ single-line comments with // ... comments
Open
#24,841 opened on Aug 15, 2015
bugzillacheck-requestclang-tidygood first issue
Description
| Bugzilla Link | 24467 |
| Version | unspecified |
| OS | Windows NT |
Extended Description
Detect when C-style /.../ block comments are used to create a single-line comment. Replace those block-style comments with // style comments.
Possible false positives:
/* ....\ */
comments could result in a // comment like this:
// ...\
which would escape the newline and be a problem.