I fixed Clang-tidy modernize-loop-convert. Autos are used for pointer variables assigned via casts. Patch includes other minor cleanups.
Build and regressions were finr on RHEL 6.
Paths
| Differential D15251
[Clang] Use range loops and autos in lib/Serialization/ASTReader.cpp AbandonedPublic Authored by Eugene.Zelenko on Dec 4 2015, 4:24 PM.
Details
Summary I fixed Clang-tidy modernize-loop-convert. Autos are used for pointer variables assigned via casts. Patch includes other minor cleanups. Build and regressions were finr on RHEL 6.
Diff Detail Event TimelineEugene.Zelenko retitled this revision from to [Clang] Use range loops and autos in lib/Serialization/ASTReader.cpp. Eugene.Zelenko updated this object.
Comment Actions I fixed two loops and don't use auto instead of bool. Auto is also used for results of new.
Revision Contents
Diff 42087 lib/Serialization/ASTReader.cpp
|
would be much easier to read. (And having Exported by a reference to a pointer seems odd.)