This is an archive of the discontinued LLVM Phabricator instance.

[LLVM] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes
ClosedPublic

Authored by Eugene.Zelenko on Aug 24 2016, 5:35 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [LLVM] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes.
Eugene.Zelenko updated this object.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: llvm-commits.
mehdi_amini accepted this revision.Aug 24 2016, 5:39 PM
mehdi_amini edited edge metadata.

At this point I think you should skip pre-commit code-review. This seems all mechanical, I won't review deeply and trust you that the added headers are really needed.

This revision is now accepted and ready to land.Aug 24 2016, 5:39 PM
This revision was automatically updated to reflect the committed changes.
MatzeB added a subscriber: MatzeB.Aug 24 2016, 6:14 PM
MatzeB added inline comments.
llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
2001–2003

What's the deal with these gratuitous newlines in front of loops? I like putting declarations immediately in front of loops for temporary variables only used inside the loop or values that are computed in the loop...