This is an archive of the discontinued LLVM Phabricator instance.

[clang][AST] Make 'getPartialSpecializations' const-qualified in DeclTemplate
Needs ReviewPublic

Authored by PragmaTwice on Dec 16 2019, 3:11 AM.

Details

Summary

I found that ClassTemplateDecl::getSpecializations is const-qualified, but ClassTemplateDecl::getPartialSpecializationsis not, which has very similar implementation to the former method.
So there is a patch to fix it.

By the way, I do not know who is suitable to review my patch, so if there is better choice as reviewers, please add to "reviewers", thanks.

Diff Detail

Event Timeline

PragmaTwice created this revision.Dec 16 2019, 3:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2019, 3:11 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
PragmaTwice edited the summary of this revision. (Show Details)Dec 16 2019, 4:24 AM