llvm-project/clang/lib/DirectoryWatcher
Martin Storsjö 2ca6fc34fc [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW
This is needed for the paths to work when using forward slashes;
this fixes the DirectoryWatcherTests unit tests.

Also allocate missing space for the null terminator, which seems to
have been missing all along (writing the terminator out of bounds).

Differential Revision: https://reviews.llvm.org/D113264
2021-11-08 22:21:30 +02:00
..
default Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
linux DirectoryWatcher-linux.cpp - add missing implicit MathExtras.h header dependency. NFCI. 2021-06-06 09:40:20 +01:00
mac [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
windows [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
CMakeLists.txt
DirectoryScanner.cpp Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
DirectoryScanner.h Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00