[clang-tools-extra] [clangd] Forward --target to system include extraction (PR #65824)
Matthew Mirvish via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 10 01:25:21 PDT 2023
================
@@ -87,12 +87,13 @@ struct DriverArgs {
std::string Lang;
std::string Sysroot;
std::string ISysroot;
+ std::string Target;
bool operator==(const DriverArgs &RHS) const {
return std::tie(Driver, StandardIncludes, StandardCXXIncludes, Lang,
- Sysroot, ISysroot) ==
+ Sysroot, ISysroot, Target) ==
std::tie(RHS.Driver, RHS.StandardIncludes, RHS.StandardCXXIncludes,
- RHS.Lang, RHS.Sysroot, ISysroot);
+ RHS.Lang, RHS.Sysroot, ISysroot, Target);
----------------
mincrmatt12 wrote:
Fixed in latest revision (both for `Target` and the existing bug)
https://github.com/llvm/llvm-project/pull/65824
More information about the cfe-commits
mailing list