This is an archive of the discontinued LLVM Phabricator instance.

Fix assert in the call to isOpenMPRebuildMemberExpr
ClosedPublic

Authored by jyu2 on Aug 2 2022, 2:36 PM.

Details

Summary

This is to fix https://github.com/llvm/llvm-project/issues/56884

The problem is in isOpenMPRebuildMemberExpr, it is only need to rebuild
for field expression. No need for member function call.

The fix is to check field for member expression and skip rebuild for member
function call

Diff Detail

Event Timeline

jyu2 created this revision.Aug 2 2022, 2:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2022, 2:36 PM
jyu2 requested review of this revision.Aug 2 2022, 2:36 PM
Herald added a project: Restricted Project. · View Herald Transcript
jyu2 edited reviewers, added: ABataev; removed: jdoerfert.Aug 2 2022, 2:38 PM
This revision is now accepted and ready to land.Aug 2 2022, 9:41 PM
This revision was automatically updated to reflect the committed changes.