This is an archive of the discontinued LLVM Phabricator instance.

[llvm][vfs] NFC: Virtualize in-memory `getStatus`
ClosedPublic

Authored by jansvoboda11 on Jan 19 2022, 1:41 AM.

Details

Summary

This patch virtualizes the getStatus function on InMemoryNode in LLVM VFS. Currently, this is implemented via top-level function getNodeStatus that tries to cast InMemoryNode * into each subtype. Virtual functions seem to be the simpler solution here.

Diff Detail