diff options
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/RefactoringTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Tooling/RefactoringTest.cpp b/clang/unittests/Tooling/RefactoringTest.cpp index 41836f11ee2..fcd2aa59373 100644 --- a/clang/unittests/Tooling/RefactoringTest.cpp +++ b/clang/unittests/Tooling/RefactoringTest.cpp @@ -1035,7 +1035,7 @@ TEST(DeduplicateByFileTest, PathsWithDots) { llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> VFS( new vfs::InMemoryFileSystem()); FileManager FileMgr(FileSystemOptions(), VFS); -#if !defined(LLVM_ON_WIN32) +#if !defined(_WIN32) StringRef Path1 = "a/b/.././c.h"; StringRef Path2 = "a/c.h"; #else @@ -1056,7 +1056,7 @@ TEST(DeduplicateByFileTest, PathWithDotSlash) { llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> VFS( new vfs::InMemoryFileSystem()); FileManager FileMgr(FileSystemOptions(), VFS); -#if !defined(LLVM_ON_WIN32) +#if !defined(_WIN32) StringRef Path1 = "./a/b/c.h"; StringRef Path2 = "a/b/c.h"; #else @@ -1077,7 +1077,7 @@ TEST(DeduplicateByFileTest, NonExistingFilePath) { llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> VFS( new vfs::InMemoryFileSystem()); FileManager FileMgr(FileSystemOptions(), VFS); -#if !defined(LLVM_ON_WIN32) +#if !defined(_WIN32) StringRef Path1 = "./a/b/c.h"; StringRef Path2 = "a/b/c.h"; #else |