aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorDan McGregor <danismostlikely@gmail.com>2023-05-02 11:53:48 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-05-02 11:56:23 -0400
commitea6ecdbfe09d4318f2d616af794e2930f996e393 (patch)
tree37b31d818b62b4e5aadb770d270dea0d8127d98b /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentd5442761f9442a23ce235b749388a52ee5ed1fae (diff)
downloadllvm-ea6ecdbfe09d4318f2d616af794e2930f996e393.zip
llvm-ea6ecdbfe09d4318f2d616af794e2930f996e393.tar.gz
llvm-ea6ecdbfe09d4318f2d616af794e2930f996e393.tar.bz2
Call printName to get name of Decl
Rather than sending a name directly to the stream, use printName to preserve any PrintingPolicy. This ensures that names are properly affected by path remapping. Fixes: https://github.com/llvm/llvm-project/issues/62192 Differential Revision: https://reviews.llvm.org/D149272
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions