aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-04-12 11:14:20 -0700
committerGitHub <noreply@github.com>2024-04-12 11:14:20 -0700
commit83dc41992dc602070f5429e2717352f60aad931c (patch)
tree2b04f2ec81d637722986fdbdce9adf1e73e636df /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent4b0beb4f5ec42aea58461df7994e2fa40f335bb6 (diff)
downloadllvm-83dc41992dc602070f5429e2717352f60aad931c.zip
llvm-83dc41992dc602070f5429e2717352f60aad931c.tar.gz
llvm-83dc41992dc602070f5429e2717352f60aad931c.tar.bz2
[memprof] Clean up writer traits (NFC) (#88549)
RecordWriter does not live past the end of writeMemProfRecords, so it can be safely on stack. The constructor of FrameWriter does not take any parameter, so we can let OnDiskChainedHashTableGenerator::Emit (with a single parameter) default-construct an instance of the writer trait inside Emit.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions