llvm/llvm-project

Replace /* ... */ single-line comments with // ... comments

Open

#24 841 ouverte le 15 août 2015

Voir sur GitHub
 (12 commentaires) (1 réaction) (1 assigné)C++ (10 782 forks)batch import
bugzillacheck-requestclang-tidygood first issue

Métriques du dépôt

Stars
 (26 378 stars)
Métriques de merge PR
 (Merge moyen 1j 2h) (1 000 PRs mergées en 30 j)

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.

Guide contributeur