Page MenuHomePhabricator

[OpenMP] Declare variants for templates need to match # template args
ClosedPublic

Authored by jdoerfert on Sep 14 2021, 9:30 AM.

Details

Summary

A declare variant template is only compatible with a base when the
number of template arguments is equal, otherwise our instantiations will
produce nonsensical results.

Exposes as part of D109344.

Diff Detail

Event Timeline

jdoerfert created this revision.Sep 14 2021, 9:30 AM
jdoerfert requested review of this revision.Sep 14 2021, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 14 2021, 9:30 AM
JonChesterfield accepted this revision.Sep 14 2021, 9:32 AM

Ah, nice! Thanks for the fix

This revision is now accepted and ready to land.Sep 14 2021, 9:32 AM
This revision was landed with ongoing or failed builds.Oct 27 2021, 7:05 PM
This revision was automatically updated to reflect the committed changes.