This is an archive of the discontinued LLVM Phabricator instance.

Simplify exclusion of nested classes from extern template instantiation, NFC
ClosedPublic

Authored by rnk on Apr 29 2019, 2:06 PM.

Details

Summary

This simplifies three checks for MS ABI, Win Itanium, or Win GNU to just
"is Windows".

The question remains, however, if this is really the correct thing to
do. We could, for example, only not consider inner classes to be
externally available if the outer class has a dllexport annotation.
However, I will leave that as future work.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk created this revision.Apr 29 2019, 2:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2019, 2:06 PM
This revision is now accepted and ready to land.Apr 29 2019, 2:12 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2019, 2:29 PM