Advertisement
Guest User

Better format clangd log

a guest
Mar 11th, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.43 KB | None | 0 0
  1. clangd version 19.1.7
  2. I[18:37:40.740] Features: linux
  3. I[18:37:40.740] PID: 6682
  4. I[18:37:40.740] Working directory: <project_root>
  5. I[18:37:40.740] argv[0]: /usr/bin/clangd
  6. I[18:37:40.740] argv[1]: --query-driver=/usr/bin/clang*
  7. I[18:37:40.740] argv[2]: --log=verbose
  8. V[18:37:40.740] User config file is /home/davide/.config/clangd/config.yaml
  9. I[18:37:40.740] Starting LSP over stdin/stdout
  10. V[18:37:40.740] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-16","utf-32"]},"offsetEncoding":["utf-8","utf-16"],"textDocument":{"callHierarchy":{"dynamicRegistration":false},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"dynamicRegistration":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":false,"resolveSupport":{"properties":["command"]}},"completion":{"completionItem":{"commitCharactersSupport":false,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":false,"resolveSupport":{"properties":["additionalTextEdits","command"]},"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":["editRange","insertTextFormat","insertTextMode","data"]},"contextSupport":false,"dynamicRegistration":false,"editsNearCursor":true},"declaration":{"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":false},"documentHighlight":{"dynamicRegistration":false},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":false,"foldingRange":{"collapsedText":true},"lineFoldingOnly":true},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["textEdits","tooltip","location","command"]}},"publishDiagnostics":{"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true,"rangesSupport":true},"references":{"dynamicRegistration":false},"rename":{"dynamicRegistration":true,"prepareSupport":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":false,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":true,"requests":{"full":{"delta":true},"range":false},"serverCancelSupport":false,"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":{"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":false,"relativePatternSupport":true},"inlayHint":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":false,"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]}},"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Neovim","version":"0.11.0-dev+g1e4c708033"},"initializationOptions":{},"processId":6642,"rootPath":"<project_root>","rootUri":"file://<project_root>","trace":"off","workDoneToken":"1","workspaceFolders":[{"name":"<project_root>","uri":"file://<project_root>"}]}}
  11.  
  12. I[18:37:40.740] <-- initialize(1)
  13. I[18:37:40.741] --> reply:initialize(1) 0 ms
  14. V[18:37:40.741] >>> {"id":1,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\
  15. ","moreTriggerCharacter":[]},"documentRangeFormattingProvider":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":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","definition","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","usedAsMutablePointer","constructorOrDestructor","userDefined","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},"offsetEncoding":"utf-8","serverInfo":{"name":"clangd","version":"clangd version 19.1.7 linux x86_64-pc-linux-gnu"}}}
  16.  
  17.  
  18. <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
  19.  
  20. I[18:37:40.846] <-- initialized
  21. V[18:37:40.846] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"<filecontent>
  22. ","uri":"file://<project_root>/src/transforms.hpp","version":0}}}
  23.  
  24. I[18:37:40.846] <-- textDocument/didOpen
  25. V[18:37:40.847] System include extraction: driver clang expanded to /sbin/clang
  26. V[18:37:40.847] System include extraction: not allowed driver /sbin/clang
  27. V[18:37:40.848] config note at <project_root>/.clangd:1:0: Parsing config fragment
  28. V[18:37:40.848] config note at <project_root>/.clangd:1:0: Parsed 1 fragments from file
  29. V[18:37:40.848] Config fragment: compiling <project_root>/.clangd:1 -> 0x000074E57C003360 (trusted=false)
  30. V[18:37:40.848] config note at /home/davide/.config/clangd/config.yaml:1:0: Parsing config fragment
  31. E[18:37:40.848] config error at /home/davide/.config/clangd/config.yaml:1:0: Config should be a dictionary
  32. V[18:37:40.848] config note at /home/davide/.config/clangd/config.yaml:1:0: Parsed 0 fragments from file
  33. I[18:37:40.848] --> textDocument/publishDiagnostics
  34. V[18:37:40.848] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file://<project_root>/.clangd"}}
  35.  
  36. I[18:37:40.848] --> textDocument/publishDiagnostics
  37. V[18:37:40.848] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"Config should be a dictionary","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"relatedInformation":[],"severity":1,"source":"clangd-config"}],"uri":"file:///home/davide/.config/clangd/config.yaml"}}
  38.  
  39. I[18:37:40.848] Loaded compilation database from <project_root>/build/compile_commands.json
  40. V[18:37:40.848] Broadcasting compilation database from <project_root>/build
  41. I[18:37:40.848] --> window/workDoneProgress/create(0)
  42. V[18:37:40.848] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
  43.  
  44. I[18:37:40.849] Enqueueing 1 commands for indexing
  45.  
  46. <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  47.  
  48. I[18:37:40.851] <-- textDocument/semanticTokens/full(2)
  49.  
  50. <<< {"id":0,"jsonrpc":"2.0","result":null}
  51.  
  52. I[18:37:40.851] <-- reply(0)
  53. I[18:37:40.851] --> $/progress
  54. V[18:37:40.851] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}
  55.  
  56. I[18:37:40.851] --> $/progress
  57. V[18:37:40.851] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
  58.  
  59.  
  60. System include extraction: target extracted: "x86_64-pc-linux-gnu"
  61. V[18:37:40.870] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1
  62. V[18:37:40.870] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu
  63. V[18:37:40.870] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward
  64. V[18:37:40.870] System include extraction: adding /usr/lib/clang/19/include
  65. V[18:37:40.870] System include extraction: adding /usr/local/include
  66. V[18:37:40.870] System include extraction: adding /usr/include
  67.  
  68. System includes extractor: builtin headers /usr/lib/clang/19/include excluded
  69. I[18:37:40.888] System includes extractor: successfully executed /usr/bin/clang++
  70. \tgot includes: "/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward, /usr/local/include, /usr/include"
  71. \tgot target: "x86_64-pc-linux-gnu"
  72.  
  73. ASTWorker building file <project_root>/src/transforms.hpp version 0 with command inferred from <project_root>/src/main.cpp
  74. [<project_root>/build]
  75. /usr/bin/clang++ --driver-mode=g++ -I<project_root>/include -g -c -std=gnu++17 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include --target=x86_64-pc-linux-gnu -resource-dir=/usr/lib/clang/19 -- <project_root>/src/transforms.hpp
  76. "
  77. Driver produced command: cc1 -cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name transforms.hpp -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 -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -fdebug-compilation-dir=<project_root>/build -fcoverage-compilation-dir=<project_root>/build -resource-dir /usr/lib/clang/19 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include -I <project_root>/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -internal-isystem /usr/lib/clang/19/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++17 -fdeprecated-macro -ferror-limit 19 -stack-protector 2 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++-header <project_root>/src/transforms.hpp
  78. "
  79. Building first preamble for <project_root>/src/transforms.hpp version 0
  80. "
  81. Built preamble of size 239400 for file <project_root>/src/transforms.hpp version 0 in 0.01 seconds
  82. "
  83. --> workspace/semanticTokens/refresh(1)
  84. "
  85. >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}
  86.  
  87.  
  88. indexed preamble AST for <project_root>/src/transforms.hpp version 0:
  89. symbol slab: 0 symbols, 120 bytes
  90. ref slab: 0 symbols, 0 refs, 128 bytes
  91. relations slab: 0 relations, 24 bytes
  92. V[18:37:40.897] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":2}}
  93.  
  94. I[18:37:40.897] <-- $/cancelRequest
  95. V[18:37:40.897] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  96.  
  97. I[18:37:40.897] <-- textDocument/semanticTokens/full(3)
  98. V[18:37:40.897] <<< {"id":1,"jsonrpc":"2.0","result":null}
  99.  
  100. I[18:37:40.897] <-- reply(1)
  101.  
  102. Indexing c++17 standard library in the context of <project_root>/src/transforms.hpp
  103. "
  104. Trying to fix unresolved name "A01" in scopes: []
  105.  
  106. Trying to fix unresolved name "mat4" in scopes: [glm::]
  107.  
  108. Trying to fix unresolved name "mat4" in scopes: [glm::]
  109.  
  110. Trying to fix unresolved name "rotate" in scopes: [glm::]
  111.  
  112. Trying to fix unresolved name "translate" in scopes: [glm::]
  113.  
  114. Trying to fix unresolved name "mat4" in scopes: [glm::]
  115.  
  116. Trying to fix unresolved name "vec3" in scopes: [glm::]
  117.  
  118. Trying to fix unresolved name "radians" in scopes: [glm::]
  119.  
  120. Trying to fix unresolved name "vec3" in scopes: [glm::]
  121.  
  122. Trying to fix unresolved name "mat4" in scopes: [glm::]
  123.  
  124. Trying to fix unresolved name "mat4" in scopes: [glm::]
  125.  
  126. Trying to fix unresolved name "mat4" in scopes: [glm::]
  127.  
  128. Trying to fix unresolved name "mat4" in scopes: [glm::]
  129.  
  130. Trying to fix unresolved name "mat4" in scopes: [glm::]
  131.  
  132. Trying to fix unresolved name "mat4" in scopes: [glm::]
  133.  
  134. Trying to fix unresolved name "mat4" in scopes: [glm::]
  135.  
  136. Trying to fix unresolved name "mat4" in scopes: [glm::]
  137.  
  138. Trying to fix unresolved name "mat4" in scopes: [glm::]
  139.  
  140. Trying to fix unresolved name "mat4" in scopes: [glm::]
  141.  
  142. indexed file AST for <project_root>/src/transforms.hpp version 0:
  143. symbol slab: 1 symbols, 4448 bytes
  144. ref slab: 1 symbols, 1 refs, 4248 bytes
  145. relations slab: 0 relations, 24 bytes
  146. V[18:37:40.905] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
  147. "
  148. --> textDocument/publishDiagnostics
  149. "
  150. >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"unknown_typename\",\"message\":\"Unknown type name 'A01'\",\"range\":{\"end\":{\"character\":21,\"line\":0},\"start\":{\"character\":18,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":5,\"line\":32},\"start\":{\"character\":2,\"line\":32}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":35},\"start\":{\"character\":6,\"line\":35}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":41},\"start\":{\"character\":6,\"line\":41}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":42},\"start\":{\"character\":6,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":24,\"line\":42},\"start\":{\"character\":21,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":41,\"line\":42},\"start\":{\"character\":38,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":43},\"start\":{\"character\":6,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":30,\"line\":43},\"start\":{\"character\":27,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":52},\"start\":{\"character\":6,\"line\":52}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":56},\"start\":{\"character\":6,\"line\":56}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":60},\"start\":{\"character\":6,\"line\":60}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":64},\"start\":{\"character\":6,\"line\":64}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":68},\"start\":{\"character\":6,\"line\":68}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":72},\"start\":{\"character\":6,\"line\":72}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":76},\"start\":{\"character\":6,\"line\":76}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":81},\"start\":{\"character\":6,\"line\":81}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":86},\"start\":{\"character\":6,\"line\":86}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":90},\"start\":{\"character\":6,\"line\":90}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"fatal_too_many_errors\",\"message\":\"Too many errors emitted, stopping now\",\"range\":{\"end\":{\"character\":0,\"line\":0},\"start\":{\"character\":0,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file://<project_root>/src/transforms.hpp\",\"version\":0}}
  151.  
  152. I[18:37:40.906] --> reply:textDocument/semanticTokens/full(2) 55 ms, error: Task was cancelled.
  153. V[18:37:40.906] >>> {\"error\":{\"code\":-32800,\"message\":\"Request cancelled\"},\"id\":2,\"jsonrpc\":\"2.0\"}
  154.  
  155. V[18:37:40.906] ASTWorker running SemanticHighlights on version 0 of <project_root>/src/transforms.hpp
  156. I[18:37:40.906] --> reply:textDocument/semanticTokens/full(3) 8 ms
  157. V[18:37:40.906] >>> {\"id\":3,\"jsonrpc\":\"2.0\",\"result\":{\"data\":[0,5,12,3,131075,0,18,1,2,16387,32,12,1,1,16387,4,2,1,2,16384,0,3,9,14,33024,10,2,1,2,16384,0,3,9,14,33024,7,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,6,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024],\"resultId\":\"1\"}}
  158.  
  159. "
  160. BackgroundIndex: building version 1 after loading index from disk
  161. "
  162. <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":31},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  163.  
  164. I[18:37:41.133] <-- textDocument/documentHighlight(4)
  165.  
  166. ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  167. I[18:37:41.133] --> reply:textDocument/documentHighlight(4) 0 ms
  168. "
  169. >>> {"id":4,"jsonrpc":"2.0","result":[]}
  170.  
  171.  
  172. BackgroundIndex: serving version 1 (59075489 bytes)
  173. "
  174. --> $/progress
  175. V[18:37:41.227] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
  176.  
  177. I[18:37:41.227] --> $/progress
  178. V[18:37:41.227] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
  179.  
  180.  
  181. Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:49:too many arguments provided to function-like macro invocation
  182. V[18:37:42.094] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:90:9:macro 'atomic_is_lock_free' defined here
  183. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:5:redefinition of 'atomic_is_lock_free' as different kind of symbol
  184. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1296:5:previous definition is here
  185. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:107:7:expected expression
  186. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:111:6:expected ';' after top level declarator
  187. "
  188. Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected parameter declarator
  189. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected ')'
  190. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:to match this '('
  191. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:41:too many arguments provided to function-like macro invocation
  192. V[18:37:42.094] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:144:9:macro 'atomic_load' defined here
  193. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:5:redefinition of 'atomic_load' as different kind of symbol
  194. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1399:5:previous definition is here
  195. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:7:expected expression
  196. V[18:37:42.094] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:69:expected ';' after top level declarator
  197. V[18:37:42.095] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected parameter declarator
  198. V[18:37:42.095] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected ')'
  199. V[18:37:42.095] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:to match this '('
  200. "
  201. Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:47:too many arguments provided to function-like macro invocation
  202. V[18:37:42.095] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:141:9:macro 'atomic_store' defined here
  203. V[18:37:42.095] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:5:variable has incomplete type 'void'
  204. "
  205. Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:34:use of undeclared identifier '__p'
  206. V[18:37:42.109] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:49:use of undeclared identifier '__r'
  207. V[18:37:42.109] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:79:expected ';' after top level declarator
  208. "
  209. Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected parameter declarator
  210. V[18:37:42.109] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected ')'
  211. V[18:37:42.109] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:to match this '('
  212. "
  213. Ignored diagnostic. too many errors emitted, stopping now
  214. "
  215. Indexed c++17 standard library (incomplete due to errors): 14356 symbols, 1909 filtered
  216. "
  217. Build dynamic index for header symbols with estimated memory usage of 8538056 bytes
  218. "
  219. <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":29},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  220.  
  221. I[18:37:43.977] <-- textDocument/documentHighlight(5)
  222.  
  223. ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  224. I[18:37:43.977] --> reply:textDocument/documentHighlight(5) 0 ms
  225. V[18:37:43.977] >>> {"id":5,"jsonrpc":"2.0","result":[]}
  226.  
  227.  
  228. <<< {"id":6,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":29},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  229.  
  230. I[18:59:43.939] <-- textDocument/documentHighlight(6)
  231.  
  232. ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  233. I[18:59:43.940] --> reply:textDocument/documentHighlight(6) 0 ms
  234. V[18:59:43.940] >>> {"id":6,"jsonrpc":"2.0","result":[]}
  235.  
  236.  
  237. <<< {"id":7,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":29},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  238.  
  239. I[18:59:45.102] <-- textDocument/documentHighlight(7)
  240.  
  241. ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  242. I[18:59:45.102] --> reply:textDocument/documentHighlight(7) 0 ms
  243. V[18:59:45.102] >>> {"id":7,"jsonrpc":"2.0","result":[]}
  244.  
  245.  
  246. <<< {"id":8,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":29},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  247.  
  248.  
  249. <-- textDocument/documentHighlight(8)
  250. "
  251. ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  252. I[18:59:54.984] --> reply:textDocument/documentHighlight(8) 0 ms
  253. V[18:59:54.984] >>> {"id":8,"jsonrpc":"2.0","result":[]}
  254.  
  255.  
  256.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement