This is an archive of the discontinued LLVM Phabricator instance.

[clang][NFC] Remove unreachable code
ClosedPublic

Authored by urnathan on Feb 1 2022, 7:52 AM.

Details

Summary

NamespaceDecls are NamedDecls, so NSD can never be non-null in the else branch. Add a comment about this whole ModuleInternal linkage concept going away when p1815 is implemented.

Diff Detail

Event Timeline

urnathan requested review of this revision.Feb 1 2022, 7:52 AM
urnathan created this revision.
bruno accepted this revision.Feb 1 2022, 10:27 AM

LGTM

This revision is now accepted and ready to land.Feb 1 2022, 10:27 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 5:14 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript