This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by Eugene.Zelenko on Aug 12 2016, 5:32 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.
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 edited edge metadata.Aug 12 2016, 5:35 PM

Looks good overall, I'm curious about some extra lines when opening/closing a namespace?

include/llvm/ADT/Statistic.h
35 ↗(On Diff #67945)

This is not something clang-format does AFAIK.

I think empty lines make code more readable for large namespaces. But they definitely used/not used inconsistently.

I think empty lines make code more readable for large namespaces. But they definitely used/not used inconsistently.

That seems consistent with the examples in http://llvm.org/docs/CodingStandards.html

mehdi_amini accepted this revision.Aug 12 2016, 5:53 PM
mehdi_amini edited edge metadata.
This revision is now accepted and ready to land.Aug 12 2016, 5:53 PM
This revision was automatically updated to reflect the committed changes.