This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Use autos in lib/AST/Type.cpp
AbandonedPublic

Authored by Eugene.Zelenko on Dec 9 2015, 5:11 PM.

Details

Summary

Autos are also used for pointer variables assigned via casts or memory allocation. Patch includes other minor cleanups.

Build and regressions were fine on RHEL 6.

Diff Detail

Event Timeline

Eugene.Zelenko retitled this revision from to [Clang] Use autos in lib/AST/Type.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 added inline comments.Dec 10 2015, 11:25 AM
lib/AST/Type.cpp
2016

Not certain this is an improvement due to the type information being on a different line.

Eugene.Zelenko abandoned this revision.Jan 14 2016, 6:48 PM