This is an archive of the discontinued LLVM Phabricator instance.

Make anonymous namespace as small as possible.
ClosedPublic

Authored by ruiu on Sep 11 2014, 9:10 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 13612.Sep 11 2014, 9:10 PM
ruiu retitled this revision from to Make anonymous namespace as small as possible..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: kledzik.
ruiu added a subscriber: Unknown Object (MLST).
emaste added a subscriber: emaste.Sep 12 2014, 6:05 AM
kledzik accepted this revision.Sep 12 2014, 10:34 AM
kledzik edited edge metadata.

Interesting. That is the way I used to write C++, but I thought the LLVM convention preferred anonymous namespaces. After reading the current LLVM convention doc, I see that static is better in this case. I'll retrain my fingers :-)

LGTM

This revision is now accepted and ready to land.Sep 12 2014, 10:34 AM
ruiu closed this revision.Sep 12 2014, 10:39 AM
ruiu updated this revision to Diff 13643.

Closed by commit rL217692 (authored by @ruiu).