llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
26.68k stars 10.93k forks source link

clang-apply-replacements doesn't delete commas left by modernize-use-default-member-init #34399

Open llvmbot opened 6 years ago

llvmbot commented 6 years ago
Bugzilla Link 35051
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @firewave

Extended Description

clang-apply-replacements leaves behind commas when it removes multiple member initializers, whereas clang-tidy cleans them up.

llvmbot commented 6 years ago

FTR, patch at: https://reviews.llvm.org/D43500