This is an archive of the discontinued LLVM Phabricator instance.

Factor code into CXXRecordDecl::getTemplateInstantiationPattern() helper
ClosedPublic

Authored by rnk on Oct 14 2014, 1:09 PM.

Details

Summary

This moves some code from SemaType.cpp's hasVisibleDefinition() into
DeclCXX.cpp so that it can be used elsewhere. I found one other instance
of code trying to do the same thing, there are probably more. Search for
getInstantiatedFrom() to try to find more.

No functionality change.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 14886.Oct 14 2014, 1:09 PM
rnk retitled this revision from to Factor code into CXXRecordDecl::getTemplateInstantiationPattern() helper.
rnk updated this object.
rnk added a reviewer: rsmith.
rnk added a subscriber: Unknown Object (MLST).
rsmith accepted this revision.Oct 14 2014, 1:30 PM
rsmith edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 14 2014, 1:30 PM
rnk closed this revision.Oct 14 2014, 1:39 PM
rnk updated this revision to Diff 14887.

Closed by commit rL219714 (authored by @rnk).