This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Put disassembler test classes and methods in anonymous namespace
ClosedPublic

Authored by RamNalamothu on Aug 28 2023, 2:31 AM.

Diff Detail

Event Timeline

RamNalamothu created this revision.Aug 28 2023, 2:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 2:31 AM
RamNalamothu requested review of this revision.Aug 28 2023, 2:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 2:31 AM

And this is being done for what reason?

I seem to remember something about static and anonymous namespace in the developer guide, please cite that if so.

And this is being done for what reason?

This is a follow-up on https://reviews.llvm.org/D156086#inline-1518306 comment.
I see that most of the lldb unit tests follow this style.

I seem to remember something about static and anonymous namespace in the developer guide, please cite that if so.

Are you referring to https://llvm.org/docs/CodingStandards.html#anonymous-namespaces?

DavidSpickett accepted this revision.Aug 30 2023, 1:05 AM

Are you referring to https://llvm.org/docs/CodingStandards.html#anonymous-namespaces?

That's the one, please include that in the commit message. Other than that this LGTM.

This revision is now accepted and ready to land.Aug 30 2023, 1:05 AM

Update commit message to refer to anonymous namespace guideline.

MaskRay accepted this revision.Aug 31 2023, 11:17 PM

Update commit message to refer to anonymous namespace guideline.

Ah, seems like I have messed up with an arcanist option and the commit message update didn't get picked here/in the actual commit. Apologies for that.