This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Don't check for array bounds when the types in the base expression are dependent.
ClosedPublic

Authored by riccibruno on Mar 25 2019, 9:19 AM.

Details

Summary

Bail-out of CheckArrayAccess when the types of the base expression before and after eventual casts are dependent. We will get another chance to check for array bounds during instantiation. Fixes PR41087.

Diff Detail

Repository
rL LLVM

Event Timeline

riccibruno created this revision.Mar 25 2019, 9:19 AM
This revision is now accepted and ready to land.Mar 25 2019, 12:06 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2019, 2:35 PM