https://github.com/googlewalt created 
https://github.com/llvm/llvm-project/pull/205111

Fixes c888371ff0a3e10f8472676dc992f4347fca58d9.

This change properly accommodates both presence and absence of extra trailing 
arguments like -resource-dir.

>From 858f215c90cd69bee64596b6ee16152f675f31ec Mon Sep 17 00:00:00 2001
From: Walter Lee <[email protected]>
Date: Mon, 22 Jun 2026 14:05:57 +0000
Subject: [PATCH] Be more permissive on spaces in command line argument parsing

Fixes c888371ff0a3e10f8472676dc992f4347fca58d9.

This change properly accommodates both presence and absence of extra
trailing arguments like -resource-dir.
---
 .../clangd/test/did-change-configuration-params.test            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang-tools-extra/clangd/test/did-change-configuration-params.test 
b/clang-tools-extra/clangd/test/did-change-configuration-params.test
index 08c7b4bcb57ad..f922dc5508f6f 100644
--- a/clang-tools-extra/clangd/test/did-change-configuration-params.test
+++ b/clang-tools-extra/clangd/test/did-change-configuration-params.test
@@ -48,7 +48,7 @@
 #
 # ERR: ASTWorker building file {{.*}}foo.c version 0 with command
 # ERR: [{{.*}}clangd-test2]
-# ERR: clang -c -Wall -Werror {{.*}} -- {{.*}}foo.c
+# ERR: clang -c -Wall -Werror{{.*}} -- {{.*}}foo.c
 ---
 {"jsonrpc":"2.0","id":5,"method":"shutdown"}
 ---

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to