[clang][Driver][CUDA] Get rid of unused LibPath
authorKadir Cetinkaya <kadircet@google.com>
Wed, 11 Jan 2023 08:57:37 +0000 (09:57 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 12 Jan 2023 09:36:43 +0000 (10:36 +0100)
commit4921b0a285ace77b7a3d5b9502b8602134daee0d
tree5f15b1099347101fac80062eac313e609be9b4c4
parentd78a7c5012c7ae6ec9991fb22fcd6d06a42dc1cc
[clang][Driver][CUDA] Get rid of unused LibPath

LibPath discovered during InstallationDetection wasn't used anywhere.
Moreover it actually resulted in discarding installations that don't have any
`/lib` directory.

This is causing troubles for our pipelines downstream, that want to perform
syntax-only analysis on the sources.

Differential Revision: https://reviews.llvm.org/D141467
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Driver/ToolChains/Cuda.h