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.
Details
Details
Diff Detail
Diff Detail
Differential D118704
[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 TimelineThis revision is now accepted and ready to land.Feb 1 2022, 10:27 AM Closed by commit rGccf02cdf17d6: [clang][NFC] Remove unreachable code (authored by urnathan). · Explain WhyFeb 2 2022, 5:14 AM This revision was automatically updated to reflect the committed changes.
Diff 404938 clang/lib/AST/Decl.cpp
|