-
-
Save NomiChirps/7421c7029fada1b0634caf9e887e73f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I[09:19:15.752] clangd version 14.0.3 (https://github.com/llvm/llvm-project 1f9140064dfbfb0bbda8e51306ea51080b2f7aac) | |
I[09:19:15.753] Features: windows+grpc | |
I[09:19:15.753] PID: 37168 | |
I[09:19:15.753] Working directory: g:\code\tplp2 | |
I[09:19:15.753] argv[0]: G:\code\tools\clangd_14.0.3\bin\clangd.exe | |
I[09:19:15.753] argv[1]: --header-insertion=never | |
I[09:19:15.753] argv[2]: --query-driver=** | |
I[09:19:15.753] argv[3]: --log=verbose | |
V[09:19:15.759] User config file is C:\Users\Nomi\AppData\Local\clangd\config.yaml | |
I[09:19:15.759] Starting LSP over stdin/stdout | |
V[09:19:15.760] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"markdown":{"parser":"marked","version":"1.1.0"},"positionEncodings":["utf-16"],"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"staleRequestSupport":{"cancel":true,"retryOnContentModified":["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"]}},"notebookDocument":{"synchronization":{"dynamicRegistration":true,"executionSummarySupport":true}},"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"dynamicRegistration":true,"honorsChangeAnnotations":false,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"labelDetailsSupport":true,"preselectSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode"]},"contextSupport":true,"dynamicRegistration":true,"editsNearCursor":true,"insertTextMode":2},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":true,"relatedDocumentSupport":false},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"labelSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"foldingRange":{"dynamicRegistration":true,"foldingRange":{"collapsedText":false},"foldingRangeKind":{"valueSet":["comment","imports","region"]},"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["tooltip","textEdits","label.tooltip","label.location","label.command"]}},"inlineValue":{"dynamicRegistration":true},"linkedEditingRange":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"codeDescriptionSupport":true,"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":false},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"honorsChangeAnnotations":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1},"selectionRange":{"dynamicRegistration":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":true,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":false,"requests":{"full":{"delta":true},"range":true},"serverCancelSupport":true,"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"]},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"typeHierarchy":{"dynamicRegistration":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"diagnostics":{"refreshSupport":true},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"executeCommand":{"dynamicRegistration":true},"fileOperations":{"didCreate":true,"didDelete":true,"didRename":true,"dynamicRegistration":true,"willCreate":true,"willDelete":true,"willRename":true},"inlayHint":{"refreshSupport":true},"inlineValue":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":true,"resolveSupport":{"properties":["location.range"]},"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"workspaceEdit":{"changeAnnotationSupport":{"groupsOnLabel":true},"documentChanges":true,"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Visual Studio Code","version":"1.69.2"},"initializationOptions":{"clangdFileStatus":true,"fallbackFlags":[]},"locale":"en-us","processId":41028,"rootPath":"g:\\code\\tplp2","rootUri":"file:///g%3A/code/tplp2","trace":"off","workspaceFolders":[{"name":"tplp2","uri":"file:///g%3A/code/tplp2"},{"name":"rules_pico","uri":"file:///g%3A/code/rules_pico"},{"name":"compile-commands-issue-repro","uri":"file:///g%3A/code/compile-commands-issue-repro"}]}} | |
I[09:19:15.760] <-- initialize(0) | |
I[09:19:15.838] --> reply:initialize(0) 78 ms | |
V[09:19:15.838] >>> {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","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","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.3 (https://github.com/llvm/llvm-project 1f9140064dfbfb0bbda8e51306ea51080b2f7aac) windows+grpc x86_64-pc-windows-msvc"}}} | |
V[09:19:15.839] <<< {"jsonrpc":"2.0","method":"initialized","params":{}} | |
I[09:19:15.839] <-- initialized | |
V[09:19:17.487] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <cstdint>\r\n\r\nuint8_t x();","uri":"file:///g%3A/code/compile-commands-issue-repro/test.h","version":1}}} | |
I[09:19:17.487] <-- textDocument/didOpen | |
V[09:19:17.487] <<< {"id":1,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///g%3A/code/compile-commands-issue-repro/test.h"}}} | |
I[09:19:17.487] <-- textDocument/documentSymbol(1) | |
V[09:19:17.487] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file:///g%3A/code/compile-commands-issue-repro/test.h"}}} | |
I[09:19:17.487] <-- textDocument/semanticTokens/full(2) | |
V[09:19:17.487] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///g%3A/code/compile-commands-issue-repro/test.h"}}} | |
I[09:19:17.487] <-- textDocument/documentLink(3) | |
V[09:19:17.487] <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///g%3A/code/compile-commands-issue-repro/test.h"}}} | |
I[09:19:17.487] <-- textDocument/codeAction(4) | |
I[09:19:17.489] Loaded compilation database from g:\code\compile-commands-issue-repro\compile_commands.json | |
V[09:19:17.489] Broadcasting compilation database from g:\code\compile-commands-issue-repro | |
I[09:19:17.489] --> window/workDoneProgress/create(0) | |
V[09:19:17.489] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}} | |
I[09:19:17.489] Enqueueing 1 commands for indexing | |
V[09:19:17.490] Failed to load shard: G:\code\compile-commands-issue-repro\test.cc | |
V[09:19:17.490] <<< {"id":0,"jsonrpc":"2.0","result":null} | |
I[09:19:17.490] <-- reply(0) | |
I[09:19:17.490] --> $/progress | |
V[09:19:17.490] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}} | |
I[09:19:17.490] --> $/progress | |
V[09:19:17.490] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/2","percentage":50}}} | |
E[09:19:17.556] System include extraction: driver execution failed with return code: 1 - ''. Args: [c:/tools/msys64/mingw64/bin/gcc -E -x c++ - -v] | |
V[09:19:17.556] Indexing test.cc (digest:=32D5BA806A2A4223) | |
E[09:19:17.558] System include extraction: driver execution failed with return code: 1 - ''. Args: [c:/tools/msys64/mingw64/bin/gcc -E -x c++-header - -v] | |
I[09:19:17.558] ASTWorker building file g:\code\compile-commands-issue-repro\test.h version 1 with command inferred from test.cc | |
[G:/code/compile-commands-issue-repro] | |
c:/tools/msys64/mingw64/bin/gcc -MD -MF bazel-out/x64_windows-fastbuild/bin/_objs/test/test.d -frandom-seed=bazel-out/x64_windows-fastbuild/bin/_objs/test/test.o -iquote . -iquote bazel-out/x64_windows-fastbuild/bin -c -x c++-header -std=gnu++11 "-resource-dir=G:\\code\\tools\\clangd_14.0.3\\lib\\clang\\14.0.3" -- "g:\\code\\compile-commands-issue-repro\\test.h" | |
V[09:19:17.568] Driver produced command: cc1 -cc1 -triple x86_64-pc-windows-msvc19.32.31332 -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.h -mrelocation-model pic -pic-level 2 -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -fcoverage-compilation-dir=G:/code/compile-commands-issue-repro -resource-dir "G:\\code\\tools\\clangd_14.0.3\\lib\\clang\\14.0.3" -dependency-file bazel-out/x64_windows-fastbuild/bin/_objs/test/test.d -MT test.o -sys-header-deps -module-file-deps -iquote . -iquote bazel-out/x64_windows-fastbuild/bin -internal-isystem "G:\\code\\tools\\clangd_14.0.3\\lib\\clang\\14.0.3\\include" -internal-isystem "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include" -internal-isystem "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\atlmfc\\include" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\ucrt" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\shared" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\um" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\winrt" -internal-isystem "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\cppwinrt" -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir=G:/code/compile-commands-issue-repro -ferror-limit 19 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms-compatibility-version=19.32.31332 -fdelayed-template-parsing -fcxx-exceptions -fexceptions -faddrsig -x c++-header "g:\\code\\compile-commands-issue-repro\\test.h" | |
I[09:19:17.568] --> textDocument/clangd.fileStatus | |
V[09:19:17.568] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Update (1)","uri":"file:///g:/code/compile-commands-issue-repro/test.h"}} | |
V[09:19:17.568] Building first preamble for g:\code\compile-commands-issue-repro\test.h version 1 | |
V[09:19:17.605] indexed preamble AST for g:\code\compile-commands-issue-repro\test.h version 1: | |
symbol slab: 1425 symbols, 363496 bytes | |
ref slab: 0 symbols, 0 refs, 136 bytes | |
relations slab: 0 relations, 24 bytes | |
V[09:19:17.621] Build dynamic index for header symbols with estimated memory usage of 1152548 bytes | |
V[09:19:17.623] Built preamble of size 473416 for file g:\code\compile-commands-issue-repro\test.h version 1 | |
I[09:19:17.623] --> workspace/semanticTokens/refresh(1) | |
V[09:19:17.623] >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null} | |
I[09:19:17.623] --> textDocument/clangd.fileStatus | |
V[09:19:17.623] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Build AST","uri":"file:///g:/code/compile-commands-issue-repro/test.h"}} | |
V[09:19:17.624] <<< {"id":1,"jsonrpc":"2.0","result":null} | |
I[09:19:17.624] <-- reply(1) | |
V[09:19:17.650] indexed file AST for g:\code\compile-commands-issue-repro\test.h version 1: | |
symbol slab: 1 symbols, 4456 bytes | |
ref slab: 2 symbols, 2 refs, 4280 bytes | |
relations slab: 0 relations, 24 bytes | |
V[09:19:17.650] Build dynamic index for main-file symbols with estimated memory usage of 11592 bytes | |
I[09:19:17.650] --> textDocument/publishDiagnostics | |
V[09:19:17.650] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///g:/code/compile-commands-issue-repro/test.h","version":1}} | |
V[09:19:17.650] ASTWorker running DocumentSymbols on version 1 of g:\code\compile-commands-issue-repro\test.h | |
I[09:19:17.650] --> reply:textDocument/documentSymbol(1) 162 ms | |
V[09:19:17.650] >>> {"id":1,"jsonrpc":"2.0","result":[{"detail":"uint8_t ()","kind":12,"name":"x","range":{"end":{"character":11,"line":2},"start":{"character":0,"line":2}},"selectionRange":{"end":{"character":9,"line":2},"start":{"character":8,"line":2}}}]} | |
V[09:19:17.650] ASTWorker running SemanticHighlights on version 1 of g:\code\compile-commands-issue-repro\test.h | |
I[09:19:17.650] --> reply:textDocument/semanticTokens/full(2) 162 ms | |
V[09:19:17.650] >>> {"id":2,"jsonrpc":"2.0","result":{"data":[2,0,7,18,4352,0,8,1,3,8193],"resultId":"1"}} | |
V[09:19:17.650] ASTWorker running DocumentLinks on version 1 of g:\code\compile-commands-issue-repro\test.h | |
I[09:19:17.651] --> reply:textDocument/documentLink(3) 163 ms | |
V[09:19:17.651] >>> {"id":3,"jsonrpc":"2.0","result":[{"range":{"end":{"character":18,"line":0},"start":{"character":9,"line":0}},"target":"file:///C:/Program%20Files/Microsoft%20Visual%20Studio/2022/Community/VC/Tools/MSVC/14.32.31326/include/cstdint"}]} | |
V[09:19:17.651] ASTWorker running EnumerateTweaks on version 1 of g:\code\compile-commands-issue-repro\test.h | |
I[09:19:17.651] --> reply:textDocument/codeAction(4) 163 ms | |
V[09:19:17.651] >>> {"id":4,"jsonrpc":"2.0","result":[]} | |
I[09:19:17.651] --> textDocument/clangd.fileStatus | |
V[09:19:17.651] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///g:/code/compile-commands-issue-repro/test.h"}} | |
I[09:19:17.675] Indexed test.cc (461 symbols, 5668 refs, 17 files) | |
V[09:19:17.698] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":11,"line":2},"start":{"character":11,"line":2}},"textDocument":{"uri":"file:///g%3A/code/compile-commands-issue-repro/test.h"}}} | |
I[09:19:17.698] <-- textDocument/codeAction(5) | |
V[09:19:17.698] ASTWorker running EnumerateTweaks on version 1 of g:\code\compile-commands-issue-repro\test.h | |
I[09:19:17.698] --> reply:textDocument/codeAction(5) 0 ms | |
V[09:19:17.698] >>> {"id":5,"jsonrpc":"2.0","result":[]} | |
I[09:19:17.698] --> textDocument/clangd.fileStatus | |
V[09:19:17.698] >>> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///g:/code/compile-commands-issue-repro/test.h"}} | |
V[09:19:17.835] BackgroundIndex: building version 1 when background indexer is idle | |
V[09:19:17.843] BackgroundIndex: serving version 1 (1051930 bytes) | |
I[09:19:17.844] --> $/progress | |
V[09:19:17.844] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment