aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorAntonio Maiorano <amaiorano@gmail.com>2016-12-22 05:10:07 +0000
committerAntonio Maiorano <amaiorano@gmail.com>2016-12-22 05:10:07 +0000
commit34c037641b74dda8d7c10d35ffa476162c0125a6 (patch)
tree4184426364087f8b6e63e47d48f76e7cb709bdf5 /clang/lib/Basic/VirtualFileSystem.cpp
parent7323b4b78898c2b7fbd8424d218e3a755946aae2 (diff)
downloadllvm-34c037641b74dda8d7c10d35ffa476162c0125a6.zip
llvm-34c037641b74dda8d7c10d35ffa476162c0125a6.tar.gz
llvm-34c037641b74dda8d7c10d35ffa476162c0125a6.tar.bz2
Make FormatStyle.GetStyleOfFile test work on MSVC
Modify getStyle to use vfs::FileSystem::makeAbsolute just like FS.addFile does, rather than sys::fs::make_absolute. The latter gets the CWD from the platform, while the former expects it to be set by the client, causing a mismatch when converting relative paths to absolute. Differential Revision: https://reviews.llvm.org/D27971 llvm-svn: 290319
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions