Files
clang-p2996/llvm/lib/WindowsDriver/MSVCPaths.cpp
Dimitry Andric 2a48c5f5d5 [WindowsDriver] Improve VSInstallPath check for IDE subdirectory
This avoids potential memory allocation failures, if VSInstallPath is
not empty, but also does not contain the string "\Common7\IDE".

Fixes: https://github.com/llvm/llvm-project/issues/59434

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D140019
2022-12-15 21:38:07 +01:00

25 KiB