This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Use C++17 nested namespace syntax in most places
ClosedPublic

Authored by thakis on Aug 7 2022, 7:40 AM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Commits
rGbf20d43f8263: [lld/mac] Use C++17 nested namespace syntax in most places
Summary

Some header files used

namespace lld {
namespace macho {
// ...
} // namespace macho
std::string toString(const Type &t);
} // namespace lld

In those files, I didn't use a nested namespace since it's not a big win there.

No behavior change.

Diff Detail

Event Timeline

thakis created this revision.Aug 7 2022, 7:40 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 7 2022, 7:40 AM
thakis requested review of this revision.Aug 7 2022, 7:40 AM
int3 accepted this revision.Aug 8 2022, 1:46 AM
int3 added a subscriber: int3.

Neat!

This revision is now accepted and ready to land.Aug 8 2022, 1:46 AM
This revision was landed with ongoing or failed builds.Aug 8 2022, 4:11 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 4:11 AM