https://github.com/cjc25 ready_for_review
https://github.com/llvm/llvm-project/pull/70285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cjc25 updated https://github.com/llvm/llvm-project/pull/70285
>From 4d975b63f802f6e766d4a2cd0b6122bd0ca1e596 Mon Sep 17 00:00:00 2001
From: Chris Carlon
Date: Tue, 24 Oct 2023 22:21:59 -0400
Subject: [PATCH] [clangd] Support `-specs` arguments when querying the driver.
Simila
https://github.com/cjc25 converted_to_draft
https://github.com/llvm/llvm-project/pull/70285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cjc25 updated https://github.com/llvm/llvm-project/pull/70285
>From f171053854f3926641ecc450e35a625b5850a4be Mon Sep 17 00:00:00 2001
From: Chris Carlon
Date: Tue, 24 Oct 2023 22:21:59 -0400
Subject: [PATCH 1/2] [clangd] Support `-specs` arguments when querying the
driver.
S
https://github.com/cjc25 created https://github.com/llvm/llvm-project/pull/70285
Similarly to commit 3935a29, forward spec file arguments to the driver if they
appear in the compile database. Spec files can affect the include search path.
fixes clangd/clangd#1410
>From f171053854f3926641ecc450
@@ -203,6 +214,7 @@ template <> struct DenseMapInfo {
Val.Driver,
Val.StandardIncludes,
Val.StandardCXXIncludes,
+Val.Stdlib,
cjc25 wrote:
Done, and resorted these to match the order in `DriverArgs` definition so it'll
be easie
https://github.com/cjc25 updated https://github.com/llvm/llvm-project/pull/69283
>From f9986bfc0a1202ade8e641e7a1b1e73576070a73 Mon Sep 17 00:00:00 2001
From: Chris Carlon
Date: Sat, 14 Oct 2023 15:17:44 -0400
Subject: [PATCH 1/2] `clangd`: support `-stdlib=` flags from
`compile_commands.json`.
https://github.com/cjc25 created https://github.com/llvm/llvm-project/pull/69283
The `--stdlib` flag can affect the system headers used by `clang` during
compilation. By default, `clang` will use the platform-installed C++ standard
headers, but with `--stdlib=libc++`, `clang` can use headers in