Closed as not planned
Description
Compile database located in "build" directory. When I tried to set "*" symbol in the end of its path, clang-tidy crashed.
D:\dev\c++\projects\some_project>clang-tidy --quiet -p build* main.cpp
LLVM ERROR: Cannot chdir into "D:/dev/c++/projects/some_project/build"!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: clang-tidy --quiet -p build* main.cpp
#0 0x00007ff7b2943436 (C:\mydevtools\Clang\bin\clang-tidy.exe+0x1093436)
#1 0x00007fffe38fcd84 (C:\Windows\System32\ucrtbase.dll+0x7cd84)
#2 0x00007fffe38fdd61 (C:\Windows\System32\ucrtbase.dll+0x7dd61)
#3 0x00007ff7b2917a62 (C:\mydevtools\Clang\bin\clang-tidy.exe+0x1067a62)
#4 0x00007ff7b2d3ed08 (C:\mydevtools\Clang\bin\clang-tidy.exe+0x148ed08)
#5 0x00007ff7b2d5a769 (C:\mydevtools\Clang\bin\clang-tidy.exe+0x14aa769)
#6 0x00007ff7b18b3c8a (C:\mydevtools\Clang\bin\clang-tidy.exe+0x3c8a)
#7 0x00007ff7b3785e20 (C:\mydevtools\Clang\bin\clang-tidy.exe+0x1ed5e20)
#8 0x00007fffe43654e0 (C:\Windows\System32\KERNEL32.DLL+0x154e0)
#9 0x00007fffe622485b (C:\Windows\SYSTEM32\ntdll.dll+0x485b)
Version:
LLVM (http://llvm.org/):
LLVM version 14.0.0
Optimized build.
Default target: x86_64-pc-windows-msvc
Host CPU: skylake