llvm/llvm-project

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

Open

#24.841 aberto em 15 de ago. de 2015

Ver no GitHub
 (12 comments) (1 reaction) (1 assignee)C++ (10.782 forks)batch import
bugzillacheck-requestclang-tidygood first issue

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

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.

Guia do colaborador