This is an archive of the discontinued LLVM Phabricator instance.

[AST] Cleanup code by using MemoryLocation utility [NFC]
ClosedPublic

Authored by reames on Aug 10 2018, 4:24 PM.

Details

Summary

Minor NFC, but just complicated enough and touching code which is fragile enough I figured it was worth a second set of eyes.

Diff Detail

Repository
rL LLVM

Event Timeline

reames created this revision.Aug 10 2018, 4:24 PM
anna accepted this revision.Aug 13 2018, 9:33 AM

LGTM. My concern was if Loc.AATags was same as getAAMetadata and looking through the code in MemoryLocation::get, AATags is populated using getAAMetadata.

This revision is now accepted and ready to land.Aug 13 2018, 9:33 AM
This revision was automatically updated to reflect the committed changes.