[PATCH] D90517: [clangd] Account for vendor in version string
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 17:47:14 PDT 2020
smeenai created this revision.
smeenai added reviewers: sammccall, kadircet, hokein.
Herald added subscribers: cfe-commits, usaxena95, arphaman.
Herald added a project: clang.
smeenai requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
The vendor will be prefixed to the "clangd" and can be an arbitrary
string, so account for it in the test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90517
Files:
clang-tools-extra/clangd/test/log.test
Index: clang-tools-extra/clangd/test/log.test
===================================================================
--- clang-tools-extra/clangd/test/log.test
+++ clang-tools-extra/clangd/test/log.test
@@ -1,5 +1,5 @@
# RUN: env CLANGD_FLAGS=-index-file=no-such-index not clangd -lit-test </dev/null 2>&1 >/dev/null | FileCheck %s
-CHECK: I[{{.*}}] clangd version {{.*}}
+CHECK: I[{{.*}}]{{.*}} clangd version {{.*}}
CHECK: Working directory: {{.*}}
CHECK: argv[0]: clangd
CHECK: argv[1]: -lit-test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90517.302051.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201031/0c7b1170/attachment.bin>
More information about the cfe-commits
mailing list