================
@@ -260,7 +260,7 @@ llvm::Expected<std::string> 
getAbsolutePath(llvm::vfs::FileSystem &FS,
   SmallString<1024> AbsolutePath = RelativePath;
   if (auto EC = FS.makeAbsolute(AbsolutePath))
     return llvm::errorCodeToError(EC);
-  llvm::sys::path::native(AbsolutePath);
+  llvm::sys::path::make_preferred(AbsolutePath);
----------------
zeyi2 wrote:

I've also verified that the original bug report works as expected now:

```
projects/llvm-project% ./build/bin/clang-tidy '`'\''~!@#$%^&*()_-+={}[] \ 
|:;"<>?,.c'/src/autorun.c -checks="-*,modernize-*" -- -isysroot 
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
420 warnings generated.
Suppressed 420 warnings (420 in non-user code).
Use -header-filter=.* or leave it as default to display errors from all 
non-system headers. Use -system-headers to display errors from system headers 
as well.
```

https://github.com/llvm/llvm-project/pull/207499
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to