This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Use range loops and autos in lib/Serialization/ASTWriter.cpp
ClosedPublic

Authored by Eugene.Zelenko on Dec 7 2015, 2:51 PM.

Details

Summary

I fixed Clang-tidy modernize-loop-convert and modernize-use-auto. Autos are also used for pointer variables assigned via casts. Patch includes other minor cleanups.

Build and regressions were finr on RHEL 6.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [Clang] Use range loops and autos in lib/Serialization/ASTWriter.cpp.
Eugene.Zelenko updated this object.
Eugene.Zelenko added reviewers: hans, aaron.ballman.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: cfe-commits.
aaron.ballman accepted this revision.Dec 8 2015, 6:23 AM
aaron.ballman edited edge metadata.

LGTM, thanks!

This revision is now accepted and ready to land.Dec 8 2015, 6:23 AM
This revision was automatically updated to reflect the committed changes.