[clang-tools-extra] [clangd] Add new highlighting modifier `CommandLineDefined`. (PR #175495)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 11 23:47:53 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3078 tests passed
* 7 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clangd
<details>
<summary>Clangd.Clangd/initialize-params.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
clangd -lit-test < /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/initialize-params.test | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/initialize-params.test
# executed command: clangd -lit-test
# .---command stderr------------
# | I[07:40:02.780] clangd version 22.0.0git (https://github.com/llvm/llvm-project cac7830d2be948a448c59538730b91c7106cb67a)
# | I[07:40:02.780] Features: linux+debug
# | I[07:40:02.780] PID: 233677
# | I[07:40:02.780] Working directory: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test
# | I[07:40:02.780] argv[0]: clangd
# | I[07:40:02.780] argv[1]: -lit-test
# | I[07:40:02.780] Starting LSP over stdin/stdout
# | V[07:40:02.780] <<< {
# | "id": 0,
# | "jsonrpc": "2.0",
# | "method": "initialize",
# | "params": {
# | "capabilities": {},
# | "processId": 123,
# | "rootUri": "test:///workspace",
# | "trace": "off"
# | }
# | }
# |
# | I[07:40:02.780] <-- initialize(0)
# | I[07:40:02.781] --> reply:initialize(0) 0 ms
# | V[07:40:02.781] >>> {
# | "id": 0,
# | "jsonrpc": "2.0",
# | "result": {
# | "capabilities": {
# | "astProvider": true,
# | "callHierarchyProvider": true,
# | "clangdInlayHintsProvider": true,
# | "codeActionProvider": true,
# | "compilationDatabase": {
# | "automaticReload": true
# | },
# | "completionProvider": {
# | "resolveProvider": false,
# | "triggerCharacters": [
# | ".",
# | "<",
# | ">",
# | ":",
# | "\"",
# | "/",
# | "*"
# | ]
# | },
# | "declarationProvider": true,
# | "definitionProvider": true,
# | "documentFormattingProvider": true,
# | "documentHighlightProvider": true,
# | "documentLinkProvider": {
# | "resolveProvider": false
# | },
# | "documentOnTypeFormattingProvider": {
# | "firstTriggerCharacter": "\n",
# | "moreTriggerCharacter": []
# | },
# | "documentRangeFormattingProvider": {
# | "rangesSupport": true
# | },
# | "documentSymbolProvider": true,
# | "executeCommandProvider": {
# | "commands": [
# | "clangd.applyFix",
# | "clangd.applyRename",
# | "clangd.applyTweak"
# | ]
# | },
# | "foldingRangeProvider": true,
# | "hoverProvider": true,
# | "implementationProvider": true,
# | "inactiveRegionsProvider": true,
# | "inlayHintProvider": true,
# | "memoryUsageProvider": true,
# | "referencesProvider": true,
# | "renameProvider": true,
# | "selectionRangeProvider": true,
# | "semanticTokensProvider": {
# | "full": {
# | "delta": true
# | },
# | "legend": {
# | "tokenModifiers": [
# | "declaration",
# | "definition",
# | "deprecated",
# | "deduced",
# | "readonly",
# | "static",
# | "abstract",
# | "virtual",
# | "dependentName",
# | "defaultLibrary",
# | "usedAsMutableReference",
# | "usedAsMutablePointer",
# | "constructorOrDestructor",
# | "userDefined",
# | "commandLine",
# | "functionScope",
# | "classScope",
# | "fileScope",
# | "globalScope"
# | ],
# | "tokenTypes": [
# | "variable",
# | "variable",
# | "parameter",
# | "function",
# | "method",
# | "function",
# | "property",
# | "variable",
# | "class",
# | "interface",
# | "enum",
# | "enumMember",
# | "type",
# | "type",
# | "unknown",
# | "namespace",
# | "typeParameter",
# | "concept",
# | "type",
# | "macro",
# | "modifier",
# | "operator",
# | "bracket",
# | "label",
# | "comment"
# | ]
# | },
# | "range": false
# | },
# | "signatureHelpProvider": {
# | "triggerCharacters": [
# | "(",
# | ")",
# | "{",
# | "}",
# | "<",
# | ">",
# | ","
# | ]
# | },
# | "standardTypeHierarchyProvider": true,
# | "textDocumentSync": {
# | "change": 2,
# | "openClose": true,
# | "save": true
# | },
# | "typeDefinitionProvider": true,
# | "typeHierarchyProvider": true,
# | "workspaceSymbolProvider": true
# | },
# | "serverInfo": {
# | "name": "clangd",
# | "version": "clangd version 22.0.0git (https://github.com/llvm/llvm-project cac7830d2be948a448c59538730b91c7106cb67a) linux+debug x86_64-unknown-linux-gnu"
# | }
# | }
# | }
# |
# | V[07:40:02.781] <<< {
# | "id": 3,
# | "jsonrpc": "2.0",
# | "method": "shutdown"
# | }
# |
# | I[07:40:02.781] <-- shutdown(3)
# | I[07:40:02.781] --> reply:shutdown(3) 0 ms
# | V[07:40:02.781] >>> {
# | "id": 3,
# | "jsonrpc": "2.0",
# | "result": null
# | }
# |
# | V[07:40:02.781] <<< {
# | "jsonrpc": "2.0",
# | "method": "exit"
# | }
# |
# | I[07:40:02.781] <-- exit
# | I[07:40:02.781] LSP finished, exiting with status 0
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/initialize-params.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/initialize-params.test:78:26: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: "commandLineDefined",
# | ^
# | <stdin>:77:27: note: scanning from here
# | "userDefined",
# | ^
# | <stdin>:78:13: note: possible intended match here
# | "commandLine",
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/initialize-params.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 72: "dependentName",
# | 73: "defaultLibrary",
# | 74: "usedAsMutableReference",
# | 75: "usedAsMutablePointer",
# | 76: "constructorOrDestructor",
# | 77: "userDefined",
# | next:78'0 X error: no match found
# | 78: "commandLine",
# | next:78'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:78'1 ? possible intended match
# | 79: "functionScope",
# | next:78'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 80: "classScope",
# | next:78'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 81: "fileScope",
# | next:78'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 82: "globalScope"
# | next:78'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 83: ],
# | next:78'0 ~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clangd.Clangd/semantic-tokens.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
clangd -lit-test < /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/semantic-tokens.test | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/semantic-tokens.test -implicit-check-not=semanticHighlight
# executed command: clangd -lit-test
# .---command stderr------------
# | I[07:40:02.079] clangd version 22.0.0git (https://github.com/llvm/llvm-project cac7830d2be948a448c59538730b91c7106cb67a)
# | I[07:40:02.079] Features: linux+debug
# | I[07:40:02.079] PID: 231133
# | I[07:40:02.079] Working directory: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test
# | I[07:40:02.079] argv[0]: clangd
# | I[07:40:02.079] argv[1]: -lit-test
# | I[07:40:02.079] Starting LSP over stdin/stdout
# | V[07:40:02.079] <<< {
# | "id": 0,
# | "jsonrpc": "2.0",
# | "method": "initialize",
# | "params": {
# | "capabilities": {
# | "textDocument": {
# | "semanticHighlightingCapabilities": {
# | "semanticHighlighting": true
# | },
# | "semanticTokens": {
# | "dynamicRegistration": true
# | }
# | }
# | }
# | }
# | }
# |
# | I[07:40:02.079] <-- initialize(0)
# | I[07:40:02.079] --> reply:initialize(0) 0 ms
# | V[07:40:02.079] >>> {
# | "id": 0,
# | "jsonrpc": "2.0",
# | "result": {
# | "capabilities": {
# | "astProvider": true,
# | "callHierarchyProvider": true,
# | "clangdInlayHintsProvider": true,
# | "codeActionProvider": true,
# | "compilationDatabase": {
# | "automaticReload": true
# | },
# | "completionProvider": {
# | "resolveProvider": false,
# | "triggerCharacters": [
# | ".",
# | "<",
# | ">",
# | ":",
# | "\"",
# | "/",
# | "*"
# | ]
# | },
# | "declarationProvider": true,
# | "definitionProvider": true,
# | "documentFormattingProvider": true,
# | "documentHighlightProvider": true,
# | "documentLinkProvider": {
# | "resolveProvider": false
# | },
# | "documentOnTypeFormattingProvider": {
# | "firstTriggerCharacter": "\n",
# | "moreTriggerCharacter": []
# | },
# | "documentRangeFormattingProvider": {
# | "rangesSupport": true
# | },
# | "documentSymbolProvider": true,
# | "executeCommandProvider": {
# | "commands": [
# | "clangd.applyFix",
# | "clangd.applyRename",
# | "clangd.applyTweak"
# | ]
# | },
# | "foldingRangeProvider": true,
# | "hoverProvider": true,
# | "implementationProvider": true,
# | "inactiveRegionsProvider": true,
# | "inlayHintProvider": true,
# | "memoryUsageProvider": true,
# | "referencesProvider": true,
# | "renameProvider": true,
# | "selectionRangeProvider": true,
# | "semanticTokensProvider": {
# | "full": {
# | "delta": true
# | },
# | "legend": {
# | "tokenModifiers": [
# | "declaration",
# | "definition",
# | "deprecated",
# | "deduced",
# | "readonly",
# | "static",
# | "abstract",
# | "virtual",
# | "dependentName",
# | "defaultLibrary",
# | "usedAsMutableReference",
# | "usedAsMutablePointer",
# | "constructorOrDestructor",
# | "userDefined",
# | "commandLine",
# | "functionScope",
# | "classScope",
# | "fileScope",
# | "globalScope"
# | ],
# | "tokenTypes": [
# | "variable",
# | "variable",
# | "parameter",
# | "function",
# | "method",
# | "function",
# | "property",
# | "variable",
# | "class",
# | "interface",
# | "enum",
# | "enumMember",
# | "type",
# | "type",
# | "unknown",
# | "namespace",
# | "typeParameter",
# | "concept",
# | "type",
# | "macro",
# | "modifier",
# | "operator",
# | "bracket",
# | "label",
# | "comment"
# | ]
# | },
# | "range": false
# | },
# | "signatureHelpProvider": {
# | "triggerCharacters": [
# | "(",
# | ")",
# | "{",
# | "}",
# | "<",
# | ">",
# | ","
# | ]
# | },
# | "standardTypeHierarchyProvider": true,
# | "textDocumentSync": {
# | "change": 2,
# | "openClose": true,
# | "save": true
# | },
# | "typeDefinitionProvider": true,
# | "typeHierarchyProvider": true,
# | "workspaceSymbolProvider": true
# | },
# | "serverInfo": {
# | "name": "clangd",
# | "version": "clangd version 22.0.0git (https://github.com/llvm/llvm-project cac7830d2be948a448c59538730b91c7106cb67a) linux+debug x86_64-unknown-linux-gnu"
# | }
# | }
# | }
# |
# | V[07:40:02.079] <<< {
# | "jsonrpc": "2.0",
# | "method": "textDocument/didOpen",
# | "params": {
# | "textDocument": {
# | "languageId": "cpp",
# | "text": "int x = 2;",
# | "uri": "test:///foo.cpp"
# | }
# | }
# | }
# |
# | I[07:40:02.079] <-- textDocument/didOpen
# | I[07:40:02.080] Failed to find compilation database for /clangd-test/foo.cpp
# | I[07:40:02.080] ASTWorker building file /clangd-test/foo.cpp version 0 with command clangd fallback
# | [/clangd-test]
# | /opt/llvm/bin/clang -resource-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22 -- /clangd-test/foo.cpp
# | E[07:40:02.080] VFS: failed to set CWD to /clangd-test: No such file or directory
# | V[07:40:02.081] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -main-file-name foo.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test -fcoverage-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test -resource-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -fdwarf2-cfi-asm -x c++ /clangd-test/foo.cpp
# | V[07:40:02.082] Building first preamble for /clangd-test/foo.cpp version 0
# | E[07:40:02.082] VFS: failed to set CWD to /clangd-test: No such file or directory
# | I[07:40:02.089] Built preamble of size 248352 for file /clangd-test/foo.cpp version 0 in 0.01 seconds
# | V[07:40:02.089] indexed preamble AST for /clangd-test/foo.cpp version 0:
# | symbol slab: 0 symbols, 120 bytes
# | ref slab: 0 symbols, 0 refs, 128 bytes
# | relations slab: 0 relations, 24 bytes
# | E[07:40:02.090] VFS: failed to set CWD to /clangd-test: No such file or directory
# | V[07:40:02.104] indexed file AST for /clangd-test/foo.cpp version 0:
# | symbol slab: 1 symbols, 4448 bytes
# | ref slab: 1 symbols, 1 refs, 4248 bytes
# | relations slab: 0 relations, 24 bytes
# | V[07:40:02.104] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
# | I[07:40:02.104] --> textDocument/publishDiagnostics
# | V[07:40:02.104] >>> {
# | "jsonrpc": "2.0",
# | "method": "textDocument/publishDiagnostics",
# | "params": {
# | "diagnostics": [],
# | "uri": "file:///clangd-test/foo.cpp",
# | "version": 0
# | }
# | }
# |
# | V[07:40:02.105] <<< {
# | "id": 1,
# | "jsonrpc": "2.0",
# | "method": "textDocument/semanticTokens/full",
# | "params": {
# | "textDocument": {
# | "uri": "test:///foo.cpp"
# | }
# | }
# | }
# |
# | I[07:40:02.105] <-- textDocument/semanticTokens/full(1)
# | V[07:40:02.105] ASTWorker running SemanticHighlights on version 0 of /clangd-test/foo.cpp
# | I[07:40:02.105] --> reply:textDocument/semanticTokens/full(1) 0 ms
# | V[07:40:02.105] >>> {
# | "id": 1,
# | "jsonrpc": "2.0",
# | "result": {
# | "data": [
# | 0,
# | 4,
# | 1,
# | 0,
# | 262147
# | ],
# | "resultId": "1"
# | }
# | }
# |
# | V[07:40:02.105] <<< {
# | "jsonrpc": "2.0",
# | "method": "textDocument/didChange",
# | "params": {
# | "contentChanges": [
# | {
# | "text": "int x = 2;\nint y = 3;"
# | }
# | ],
# | "textDocument": {
# | "uri": "test:///foo.cpp",
# | "version": 2
# | }
# | }
# | }
# |
# | I[07:40:02.105] <-- textDocument/didChange
# | I[07:40:02.105] Failed to find compilation database for /clangd-test/foo.cpp
# | I[07:40:02.105] ASTWorker building file /clangd-test/foo.cpp version 2 with command clangd fallback
# | [/clangd-test]
# | /opt/llvm/bin/clang -resource-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22 -- /clangd-test/foo.cpp
# | E[07:40:02.105] VFS: failed to set CWD to /clangd-test: No such file or directory
# | V[07:40:02.106] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -main-file-name foo.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test -fcoverage-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/test -resource-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/backward -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -fdwarf2-cfi-asm -x c++ /clangd-test/foo.cpp
# | E[07:40:02.106] VFS: failed to set CWD to /clangd-test: No such file or directory
# | V[07:40:02.106] Reusing preamble version 0 for version 2 of /clangd-test/foo.cpp
# | E[07:40:02.106] VFS: failed to set CWD to /clangd-test: No such file or directory
# | V[07:40:02.111] indexed file AST for /clangd-test/foo.cpp version 2:
# | symbol slab: 2 symbols, 4680 bytes
# | ref slab: 2 symbols, 2 refs, 4272 bytes
# | relations slab: 0 relations, 24 bytes
# | V[07:40:02.111] Build dynamic index for main-file symbols with estimated memory usage of 12040 bytes
# | I[07:40:02.111] --> textDocument/publishDiagnostics
# | V[07:40:02.111] >>> {
# | "jsonrpc": "2.0",
# | "method": "textDocument/publishDiagnostics",
# | "params": {
# | "diagnostics": [],
# | "uri": "file:///clangd-test/foo.cpp",
# | "version": 2
# | }
# | }
# |
# | V[07:40:02.111] <<< {
# | "id": 2,
# | "jsonrpc": "2.0",
# | "method": "textDocument/semanticTokens/full/delta",
# | "params": {
# | "previousResultId": "1",
# | "textDocument": {
# | "uri": "test:///foo.cpp"
# | }
# | }
# | }
# |
# | I[07:40:02.111] <-- textDocument/semanticTokens/full/delta(2)
# | V[07:40:02.111] ASTWorker running SemanticHighlights on version 2 of /clangd-test/foo.cpp
# | I[07:40:02.111] --> reply:textDocument/semanticTokens/full/delta(2) 0 ms
# | V[07:40:02.111] >>> {
# | "id": 2,
# | "jsonrpc": "2.0",
# | "result": {
# | "edits": [
# | {
# | "data": [
# | 1,
# | 4,
# | 1,
# | 0,
# | 262147
# | ],
# | "deleteCount": 0,
# | "start": 5
# | }
# | ],
# | "resultId": "2"
# | }
# | }
# |
# | V[07:40:02.111] <<< {
# | "id": 2,
# | "jsonrpc": "2.0",
# | "method": "textDocument/semanticTokens/full/delta",
# | "params": {
# | "previousResultId": "bogus",
# | "textDocument": {
# | "uri": "test:///foo.cpp"
# | }
# | }
# | }
# |
# | I[07:40:02.111] <-- textDocument/semanticTokens/full/delta(2)
# | V[07:40:02.111] ASTWorker running SemanticHighlights on version 2 of /clangd-test/foo.cpp
# | V[07:40:02.111] semanticTokens/full/delta: wanted edits vs bogus but last result had ID 2. Returning full token list.
# | I[07:40:02.111] --> reply:textDocument/semanticTokens/full/delta(2) 0 ms
# | V[07:40:02.111] >>> {
# | "id": 2,
# | "jsonrpc": "2.0",
# | "result": {
# | "data": [
# | 0,
# | 4,
# | 1,
# | 0,
# | 262147,
# | 1,
# | 4,
# | 1,
# | 0,
# | 262147
# | ],
# | "resultId": "3"
# | }
# | }
# |
# | V[07:40:02.111] <<< {
# | "id": 3,
# | "jsonrpc": "2.0",
# | "method": "shutdown"
# | }
# |
# | I[07:40:02.111] <-- shutdown(3)
# | I[07:40:02.111] --> reply:shutdown(3) 0 ms
# | V[07:40:02.111] >>> {
# | "id": 3,
# | "jsonrpc": "2.0",
# | "result": null
# | }
# |
# | V[07:40:02.111] <<< {
# | "jsonrpc": "2.0",
# | "method": "exit"
# | }
# |
# | I[07:40:02.111] <-- exit
# | I[07:40:02.111] LSP finished, exiting with status 0
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -strict-whitespace /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/semantic-tokens.test -implicit-check-not=semanticHighlight
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/semantic-tokens.test:26:20: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 131075
# | ^
# | <stdin>:160:9: note: scanning from here
# | 0,
# | ^
# | <stdin>:161:8: note: possible intended match here
# | 262147
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/test/semantic-tokens.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 155: "result": {
# | 156: "data": [
# | 157: 0,
# | 158: 4,
# | 159: 1,
# | 160: 0,
# | next:26'0 X error: no match found
# | 161: 262147
# | next:26'0 ~~~~~~~~~~~~~
# | next:26'1 ? possible intended match
# | 162: ],
# | next:26'0 ~~~~~~~
# | 163: "resultId": "1"
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~
# | 164: }
# | next:26'0 ~~~~
# | 165: }Content-Length: 170
# | next:26'0 ~~~~~~~~~~~~~~~~~~~~~
# | 166:
# | next:26'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/175495
More information about the cfe-commits
mailing list