[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

Nathan James via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 21:55:53 PDT 2024


njames93 wrote:

> I am moving this under readability, i will also post some code on how am i planning to output a fix. For now i don't have a good way to handle 
> 
> ```
> int a = /*some value */ 5;
> ```

There is no way to handle that and you shouldn't try. Best you could do is just emit a warning without a fix, but honestly in that situation not warning would also be acceptable

https://github.com/llvm/llvm-project/pull/99713


More information about the cfe-commits mailing list