This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Add support functions for C++ polymorphic types
ClosedPublic

Authored by scchan on Jun 16 2021, 8:42 AM.

Details

Summary

Add runtime functions to detect invalid calls to pure or deleted virtual
functions

Diff Detail

Unit TestsFailed

Event Timeline

scchan requested review of this revision.Jun 16 2021, 8:42 AM
scchan created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2021, 8:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
scchan updated this revision to Diff 353035.Jun 18 2021, 9:46 AM

Adding test

yaxunl accepted this revision.Jun 18 2021, 9:57 AM

LGTM. Thanks! pls remove the extra line when committing.

clang/test/Headers/hip-header.hip
88 ↗(On Diff #353035)

extrac line

This revision is now accepted and ready to land.Jun 18 2021, 9:57 AM
scchan updated this revision to Diff 353041.Jun 18 2021, 10:30 AM

Minor clean up in the hip-header.hip test

This revision was landed with ongoing or failed builds.Jun 21 2021, 8:41 AM
This revision was automatically updated to reflect the committed changes.