llvm/llvm-project
在 GitHub 查看Replace /* ... */ single-line comments with // ... comments
Open
#24,841 创建于 2015年8月15日
bugzillacheck-requestclang-tidygood first issue
仓库指标
- Star
- (26,378 star)
- PR 合并指标
- (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)
描述
| 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.