Remove empty namespaces and initializer list commas / colons in
affected ranges. A strawman patch: proper options for enabling the cleanup and
specifying the format style are needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| clang-tidy/ClangTidy.cpp | ||
|---|---|---|
| 25 ↗ | (On Diff #71380) | Also add dependency on clangFormat? |
| 159 ↗ | (On Diff #71380) | Do you need to update CanBeApplied and AppliedFixes in this branch as well? |
| 202 ↗ | (On Diff #71380) | This FIXME is not very clear, i.e. does it mean don't apply anything for all files? Or just a single file? |
| 206 ↗ | (On Diff #71380) | Add a FIXME here. And I think this might be a better workaround for now: format::FormatStyle InsertStyle = format::getStyle("file", File, "LLVM"); |