This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Fix the assertion in Sema::ActOnDependentMemberExpr
ClosedPublic

Authored by ychen on Nov 3 2021, 2:34 PM.

Details

Summary

617007240cbfb97c introduced the use of ActOnDependentMemberExpr with
variable template specialization. The assertion inside
ActOnDependentMemberExpr should be adjusted accordingly.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47211

Diff Detail

Event Timeline

ychen requested review of this revision.Nov 3 2021, 2:34 PM
ychen created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 3 2021, 2:34 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ychen updated this revision to Diff 384858.Nov 4 2021, 1:48 PM
  • Check that TemplateArgs maybe null.
ychen edited the summary of this revision. (Show Details)Nov 4 2021, 3:02 PM
ychen retitled this revision from Fix the assertion in Sema::ActOnDependentMemberExpr to [Sema] Fix the assertion in Sema::ActOnDependentMemberExpr.Nov 5 2021, 12:16 AM
aaron.ballman accepted this revision.Dec 15 2021, 10:30 AM

LGTM! However, I'd like to hear from @rsmith as he was the original code author here, so please give him a few days to respond before landing.

This revision is now accepted and ready to land.Dec 15 2021, 10:30 AM

@aaron.ballman Thanks for taking a look! Yep, I'll wait.

This revision was landed with ongoing or failed builds.Jan 4 2022, 1:08 PM
This revision was automatically updated to reflect the committed changes.
ychen added a comment.Jan 4 2022, 1:12 PM

Richard seems very busy. I just committed this based on Aaron's LGTM. Richard could still review this at any time.