This fixes https://llvm.org/bugs/show_bug.cgi?id=17716.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tidy/modernize/LoopConvertCheck.cpp | ||
---|---|---|
455–457 | Replace this with something like: |
Paths
| Differential D13342
Prevent loop-convert from leaving empty lines after removing an alias declaration. ClosedPublic Authored by angelgarcia on Oct 1 2015, 5:35 AM.
Details
Diff Detail Event Timelineangelgarcia retitled this revision from to Prevent loop-convert from leaving empty lines after removing an alias declaration.. angelgarcia updated this object.
This revision is now accepted and ready to land.Oct 1 2015, 5:46 AM
Revision Contents
Diff 36234 clang-tidy/modernize/LoopConvertCheck.h
clang-tidy/modernize/LoopConvertCheck.cpp
test/clang-tidy/modernize-loop-convert-extra.cpp
|
Replace this with something like:
We need to delete a potential newline after the deleted alias, as clang-format will leave empty lines untouched. For all other formatting we rely on clang-format to fix it.