diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2022-01-20 15:05:38 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-01-20 15:48:02 +0100 |
commit | 9e24d14ac89f44bb6c9141561ca849ccdd09e6a8 (patch) | |
tree | e0364f9bdad4e413da53a870321b7a5e50fc93ba /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6d45284618f08fa28dc515cab96fa573c4c4479e (diff) | |
download | llvm-9e24d14ac89f44bb6c9141561ca849ccdd09e6a8.zip llvm-9e24d14ac89f44bb6c9141561ca849ccdd09e6a8.tar.gz llvm-9e24d14ac89f44bb6c9141561ca849ccdd09e6a8.tar.bz2 |
[llvm][vfs] NFC: Virtualize in-memory `getStatus`
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.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D117649
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions