The rest of LLVM uses print for the method taking the raw_ostream
and dump only for the method with no parameters. Use the same for
RedirectingFileSystem.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
@dexonsmith it'll be faster to run the tests here than locally, so I figured I'd put the review up anyway.
I think you didn't upload the full patch, so I think the bots will fail, but once the bots are happy this LGTM (besides one nit inline).
llvm/include/llvm/Support/VirtualFileSystem.h | ||
---|---|---|
913 | Since you didn't update callers I think you missed git add .../VFS.cpp. | |
913–916 | Please leave this print(dbgs()) in the source file to avoid needing to include a header that provides dbgs(). Even if it's currently available there's no reason to depend on that being the case. Maybe you forgot to git add .../VFS.cpp, since as-is this would give a duplicate definition due to conflicts with the .cpp implementation. |
Since you didn't update callers I think you missed git add .../VFS.cpp.