Skip to content

Instantly share code, notes, and snippets.

@K1ngst0m
Last active April 20, 2022 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save K1ngst0m/ecc9d11860cc066e7d5b6a79d4dd4844 to your computer and use it in GitHub Desktop.
Save K1ngst0m/ecc9d11860cc066e7d5b6a79d4dd4844 to your computer and use it in GitHub Desktop.
lsp issue tracking
Command "ccls" is present on the path.
Command "clangd -j=16 --all-scopes-completion --clang-tidy --enable-config --background-index --completion-style=detailed --header-insertion=never --log=verbose --pch-storage=memory --header-insertion-decorators" is present on the path.
Command "ccls" is present on the path.
Command "clangd -j=16 --all-scopes-completion --clang-tidy --enable-config --background-index --completion-style=detailed --header-insertion=never --log=verbose --pch-storage=memory --header-insertion-decorators" is present on the path.
Found the following clients for /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: (server-id ccls, priority 0), (server-id clangd, priority 2)
The following clients were selected based on priority: (server-id clangd, priority 2)
Cancelling textDocument/documentLink(4) in hook post-command-hook
Cancelling textDocument/codeAction(3) in hook post-command-hook
Command "ccls" is present on the path.
Command "clangd -j=16 --all-scopes-completion --clang-tidy --enable-config --background-index --completion-style=detailed --header-insertion=never --log=verbose --pch-storage=memory --header-insertion-decorators" is present on the path.
Command "ccls" is present on the path.
Command "clangd -j=16 --all-scopes-completion --clang-tidy --enable-config --background-index --completion-style=detailed --header-insertion=never --log=verbose --pch-storage=memory --header-insertion-decorators" is present on the path.
Found the following clients for /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h: (server-id ccls, priority 0), (server-id clangd, priority 2)
The following clients were selected based on priority: (server-id clangd, priority 2)
I[10:44:51.479] clangd version 14.0.1
I[10:44:51.479] Features: linux
I[10:44:51.479] PID: 4390
I[10:44:51.479] Working directory: /home/npchitman/workspace/Aphrodite
I[10:44:51.479] argv[0]: /usr/lib/llvm/14/bin/clangd
I[10:44:51.479] argv[1]: -j=16
I[10:44:51.479] argv[2]: --all-scopes-completion
I[10:44:51.479] argv[3]: --clang-tidy
I[10:44:51.479] argv[4]: --enable-config
I[10:44:51.479] argv[5]: --background-index
I[10:44:51.479] argv[6]: --completion-style=detailed
I[10:44:51.479] argv[7]: --header-insertion=never
I[10:44:51.479] argv[8]: --log=verbose
I[10:44:51.479] argv[9]: --pch-storage=memory
I[10:44:51.479] argv[10]: --header-insertion-decorators
V[10:44:51.480] User config file is /home/npchitman/.config/clangd/config.yaml
I[10:44:51.480] Starting LSP over stdin/stdout
V[10:44:51.482] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"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","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"resolveAdditionalTextEditsSupport":true,"resolveSupport":{"properties":["documentation","details","additionalTextEdits","command"]},"snippetSupport":true},"contextSupport":true},"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"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":null,"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"]},"implementation":{"linkSupport":true},"linkedEditingRange":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":null,"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":false},"fileOperations":{"didCreate":false,"didDelete":false,"didRename":false,"willCreate":false,"willDelete":false,"willRename":false},"symbol":{"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":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"emacs","version":"GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)\n of 2022-04-05"},"initializationOptions":null,"processId":null,"rootPath":"/home/npchitman/workspace/Aphrodite","rootUri":"file:///home/npchitman/workspace/Aphrodite","workDoneToken":"1"}}
I[10:44:51.482] <-- initialize(1)
I[10:44:51.485] --> reply:initialize(1) 2 ms
V[10:44:51.485] >>> {"id":1,"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.1 linux x86_64-pc-linux-gnu"}}}
V[10:44:51.564] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
I[10:44:51.564] <-- initialized
V[10:44:51.566] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"//\n// Created by npchitman on 6/1/21.\n//\n\n#include \"Aphrodite/Renderer/Buffer.h\"\n\n#include \"Aphrodite/Renderer/Renderer.h\"\n#include \"Platform/OpenGL/OpenGLBuffer.h\"\n#include \"pch.h\"\n\nnamespace Aph {\n\n Ref<VertexBuffer> VertexBuffer::Create(uint32_t size) {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLVertexBuffer>(size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<VertexBuffer> VertexBuffer::Create(float *vertices,\n uint32_t size) {\n switch (Renderer::GetAPI()) {\n\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLVertexBuffer>(vertices, size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<IndexBuffer> IndexBuffer::Create(uint32_t *indices,\n uint32_t size) {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLIndexBuffer>(indices, size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<UniformBuffer> UniformBuffer::Create() {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLUniformBuffer>();\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n}// namespace Aph-Runtime\n","uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp","version":0}}}
I[10:44:51.566] <-- textDocument/didOpen
V[10:44:51.568] config note at /home/npchitman/.config/clangd/config.yaml:1:0: Parsing config fragment
V[10:44:51.568] config note at /home/npchitman/.config/clangd/config.yaml:1:0: Parsed 1 fragments from file
V[10:44:51.568] Config fragment: compiling /home/npchitman/.config/clangd/config.yaml:1 -> 0x00007F489C003370 (trusted=true)
I[10:44:51.568] --> textDocument/publishDiagnostics
V[10:44:51.568] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/npchitman/.config/clangd/config.yaml"}}
I[10:44:51.570] Loaded compilation database from /home/npchitman/workspace/Aphrodite/compile_commands.json
V[10:44:51.570] Broadcasting compilation database from /home/npchitman/workspace/Aphrodite
I[10:44:51.570] ASTWorker building file /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp version 0 with command
[/home/npchitman/workspace/Aphrodite/build/debug/Aphrodite-Runtime]
/usr/lib/llvm/14/bin/g++ --driver-mode=g++ -DAPH_DEBUG -DAPH_ENABLE_ASSERTS -DAphrodite_Runtime_EXPORTS -DB2_SHARED -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_SHARED_LIB -I/home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/include -I/home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src -I/home/npchitman/workspace/Aphrodite/3rdparty/stb -I/home/npchitman/workspace/Aphrodite/3rdparty/glad/include -I/home/npchitman/workspace/Aphrodite/3rdparty/entt/include -I/home/npchitman/workspace/Aphrodite/3rdparty/spirv-cross -I/home/npchitman/workspace/Aphrodite/3rdparty/imgui -I/home/npchitman/workspace/Aphrodite/3rdparty/glm -I/home/npchitman/workspace/Aphrodite/3rdparty/yaml-cpp -I/home/npchitman/workspace/Aphrodite/3rdparty/ImGuizmo -I/home/npchitman/workspace/Aphrodite/3rdparty/glfw/include -I/home/npchitman/workspace/Aphrodite/3rdparty/imgui/. -I/home/npchitman/workspace/Aphrodite/3rdparty/imgui/backends -I/home/npchitman/workspace/Aphrodite/3rdparty/box2d/src/../include -I/home/npchitman/workspace/Aphrodite/3rdparty/spdlog/include -I/home/npchitman/workspace/Aphrodite/3rdparty/yaml-cpp/include -g -fPIC -std=gnu++17 -Winvalid-pch -include /home/npchitman/workspace/Aphrodite/build/debug/Aphrodite-Runtime/CMakeFiles/Aphrodite-Runtime.dir/cmake_pch.hxx -o CMakeFiles/Aphrodite-Runtime.dir/src/Aphrodite/Renderer/Buffer.cpp.o -c -xc++ -std=c++17 -Wall -resource-dir=/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1 -- /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
V[10:44:51.571] 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 Buffer.cpp -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -fcoverage-compilation-dir=/home/npchitman/workspace/Aphrodite/build/debug/Aphrodite-Runtime -resource-dir /usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1 -include-pch /home/npchitman/workspace/Aphrodite/build/debug/Aphrodite-Runtime/CMakeFiles/Aphrodite-Runtime.dir/cmake_pch.hxx.gch -D APH_DEBUG -D APH_ENABLE_ASSERTS -D Aphrodite_Runtime_EXPORTS -D B2_SHARED -D FMT_SHARED -D SPDLOG_COMPILED_LIB -D SPDLOG_SHARED_LIB -I /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/include -I /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src -I /home/npchitman/workspace/Aphrodite/3rdparty/stb -I /home/npchitman/workspace/Aphrodite/3rdparty/glad/include -I /home/npchitman/workspace/Aphrodite/3rdparty/entt/include -I /home/npchitman/workspace/Aphrodite/3rdparty/spirv-cross -I /home/npchitman/workspace/Aphrodite/3rdparty/imgui -I /home/npchitman/workspace/Aphrodite/3rdparty/glm -I /home/npchitman/workspace/Aphrodite/3rdparty/yaml-cpp -I /home/npchitman/workspace/Aphrodite/3rdparty/ImGuizmo -I /home/npchitman/workspace/Aphrodite/3rdparty/glfw/include -I /home/npchitman/workspace/Aphrodite/3rdparty/imgui/. -I /home/npchitman/workspace/Aphrodite/3rdparty/imgui/backends -I /home/npchitman/workspace/Aphrodite/3rdparty/box2d/src/../include -I /home/npchitman/workspace/Aphrodite/3rdparty/spdlog/include -I /home/npchitman/workspace/Aphrodite/3rdparty/yaml-cpp/include -internal-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11 -internal-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/x86_64-pc-linux-gnu -internal-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/backward -internal-isystem /usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Winvalid-pch -Wall -std=c++17 -fdeprecated-macro -fdebug-compilation-dir=/home/npchitman/workspace/Aphrodite/build/debug/Aphrodite-Runtime -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
V[10:44:51.571] Building first preamble for /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp version 0
I[10:44:51.575] Loaded compilation database from /home/npchitman/workspace/Aphrodite/build/debug/compile_commands.json
I[10:44:51.575] --> window/workDoneProgress/create(0)
V[10:44:51.575] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
I[10:44:51.575] Enqueueing 177 commands for indexing
V[10:44:51.616] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.616] <-- textDocument/documentSymbol(2)
V[10:44:51.616] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.616] <-- textDocument/codeAction(3)
V[10:44:51.616] <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.616] <-- textDocument/documentLink(4)
V[10:44:51.616] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.616] <-- textDocument/documentHighlight(5)
V[10:44:51.616] <<< {"id":6,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.616] <-- textDocument/documentSymbol(6)
V[10:44:51.616] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":3}}
I[10:44:51.616] <-- $/cancelRequest
V[10:44:51.617] <<< {"id":7,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.617] <-- textDocument/codeAction(7)
V[10:44:51.617] <<< {"id":8,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.617] <-- textDocument/documentLink(8)
V[10:44:51.617] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":5}}
I[10:44:51.617] <-- $/cancelRequest
V[10:44:51.617] <<< {"id":9,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.617] <-- textDocument/documentHighlight(9)
V[10:44:51.618] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no type named 'string' in namespace 'std'
V[10:44:51.618] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.618] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'size_t'; did you mean 'std::size_t'?
V[10:44:51.618] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no type named 'string' in namespace 'std'
V[10:44:51.619] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.619] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.619] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no template named 'vector' in namespace 'std'
V[10:44:51.619] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no template named 'vector' in namespace 'std'
V[10:44:51.619] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: non-friend class member 'iterator' cannot have a qualified name
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: expected ';' at end of declaration list
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no template named 'Ref'
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no template named 'Ref'
V[10:44:51.620] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.621] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: unknown type name 'uint32_t'
V[10:44:51.621] Dropped diagnostic: /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp: in included file: no template named 'Ref'
V[10:44:51.640] <<< {"id":0,"jsonrpc":"2.0","result":null}
I[10:44:51.640] <-- reply(0)
I[10:44:51.640] --> $/progress
V[10:44:51.640] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}
I[10:44:51.641] --> $/progress
V[10:44:51.641] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
V[10:44:51.643] <<< {"id":10,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.643] <-- textDocument/documentSymbol(10)
V[10:44:51.643] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":7}}
I[10:44:51.643] <-- $/cancelRequest
V[10:44:51.644] <<< {"id":11,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.644] <-- textDocument/codeAction(11)
V[10:44:51.644] <<< {"id":12,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.644] <-- textDocument/documentLink(12)
V[10:44:51.644] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":9}}
I[10:44:51.644] <-- $/cancelRequest
V[10:44:51.644] <<< {"id":13,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:51.644] <-- textDocument/documentHighlight(13)
V[10:44:52.000] BackgroundIndex: building version 1 after loading index from disk
V[10:44:52.235] BackgroundIndex: serving version 1 (83557570 bytes)
V[10:44:52.321] indexed preamble AST for /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp version 0:
symbol slab: 17467 symbols, 5256688 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 434 relations, 8728 bytes
I[10:44:52.346] --> $/progress
V[10:44:52.346] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
I[10:44:52.346] --> $/progress
V[10:44:52.346] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
V[10:44:52.381] Build dynamic index for header symbols with estimated memory usage of 10682340 bytes
V[10:44:52.386] Built preamble of size 9758388 for file /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp version 0
V[10:44:52.408] indexed file AST for /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp version 0:
symbol slab: 5 symbols, 5376 bytes
ref slab: 22 symbols, 84 refs, 4992 bytes
relations slab: 0 relations, 24 bytes
V[10:44:52.408] Build dynamic index for main-file symbols with estimated memory usage of 16776 bytes
I[10:44:52.409] --> textDocument/publishDiagnostics
V[10:44:52.409] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unknown_typename","message":"In included file: unknown type name 'uint32_t'","range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"relatedInformation":[{"location":{"range":{"end":{"character":19,"line":19},"start":{"character":11,"line":19}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},"message":"Error occurred here"}],"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"},{"code":"member_decl_does_not_match","message":"Out-of-line definition of 'Create' does not match any declaration in 'Aph::VertexBuffer'","range":{"end":{"character":42,"line":12},"start":{"character":36,"line":12}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_init","message":"In template: no matching constructor for initialization of 'std::shared_ptr<Aph::VertexBuffer>'","range":{"end":{"character":30,"line":16},"start":{"character":23,"line":16}},"relatedInformation":[{"location":{"range":{"end":{"character":59,"line":356},"start":{"character":49,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Error occurred here"},{"location":{"range":{"end":{"character":30,"line":16},"start":{"character":23,"line":16}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"},"message":"In instantiation of member function 'std::shared_ptr<Aph::VertexBuffer>::shared_ptr' requested here"},{"location":{"range":{"end":{"character":16,"line":149},"start":{"character":6,"line":149}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":159},"start":{"character":1,"line":159}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":295},"start":{"character":1,"line":295}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":303},"start":{"character":6,"line":303}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":312},"start":{"character":1,"line":312}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":20,"line":324},"start":{"character":10,"line":324}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":331},"start":{"character":1,"line":331}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":339},"start":{"character":1,"line":339}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":26,"line":356},"start":{"character":16,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":176},"start":{"character":1,"line":176}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":193},"start":{"character":1,"line":193}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":407},"start":{"character":1,"line":407}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":416},"start":{"character":6,"line":416}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":213},"start":{"character":1,"line":213}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":232},"start":{"character":1,"line":232}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"}],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_call","message":"No matching function for call to 'CreateRef'","range":{"end":{"character":52,"line":18},"start":{"character":23,"line":18}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"member_decl_does_not_match","message":"Out-of-line definition of 'Create' does not match any declaration in 'Aph::VertexBuffer'","range":{"end":{"character":42,"line":25},"start":{"character":36,"line":25}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_call","message":"No matching function for call to 'CreateRef'","range":{"end":{"character":52,"line":33},"start":{"character":23,"line":33}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"member_decl_does_not_match","message":"Out-of-line definition of 'Create' does not match any declaration in 'Aph::IndexBuffer'","range":{"end":{"character":40,"line":40},"start":{"character":34,"line":40}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_init","message":"In template: no matching constructor for initialization of 'std::shared_ptr<Aph::IndexBuffer>'","range":{"end":{"character":30,"line":45},"start":{"character":23,"line":45}},"relatedInformation":[{"location":{"range":{"end":{"character":59,"line":356},"start":{"character":49,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Error occurred here"},{"location":{"range":{"end":{"character":30,"line":45},"start":{"character":23,"line":45}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"},"message":"In instantiation of member function 'std::shared_ptr<Aph::IndexBuffer>::shared_ptr' requested here"},{"location":{"range":{"end":{"character":16,"line":149},"start":{"character":6,"line":149}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":159},"start":{"character":1,"line":159}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":295},"start":{"character":1,"line":295}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":303},"start":{"character":6,"line":303}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":312},"start":{"character":1,"line":312}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":20,"line":324},"start":{"character":10,"line":324}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":331},"start":{"character":1,"line":331}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":339},"start":{"character":1,"line":339}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":26,"line":356},"start":{"character":16,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":176},"start":{"character":1,"line":176}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":193},"start":{"character":1,"line":193}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":407},"start":{"character":1,"line":407}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":416},"start":{"character":6,"line":416}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":213},"start":{"character":1,"line":213}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":232},"start":{"character":1,"line":232}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"}],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_call","message":"No matching function for call to 'CreateRef'","range":{"end":{"character":51,"line":47},"start":{"character":23,"line":47}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_init","message":"In template: no matching constructor for initialization of 'std::shared_ptr<Aph::UniformBuffer>'","range":{"end":{"character":30,"line":58},"start":{"character":23,"line":58}},"relatedInformation":[{"location":{"range":{"end":{"character":59,"line":356},"start":{"character":49,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Error occurred here"},{"location":{"range":{"end":{"character":30,"line":58},"start":{"character":23,"line":58}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"},"message":"In instantiation of member function 'std::shared_ptr<Aph::UniformBuffer>::shared_ptr' requested here"},{"location":{"range":{"end":{"character":16,"line":149},"start":{"character":6,"line":149}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":159},"start":{"character":1,"line":159}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":295},"start":{"character":1,"line":295}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":303},"start":{"character":6,"line":303}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":312},"start":{"character":1,"line":312}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":20,"line":324},"start":{"character":10,"line":324}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":331},"start":{"character":1,"line":331}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":11,"line":339},"start":{"character":1,"line":339}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"},{"location":{"range":{"end":{"character":26,"line":356},"start":{"character":16,"line":356}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 1 argument, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":176},"start":{"character":1,"line":176}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":193},"start":{"character":1,"line":193}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":407},"start":{"character":1,"line":407}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"},{"location":{"range":{"end":{"character":16,"line":416},"start":{"character":6,"line":416}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor not viable: requires 2 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":213},"start":{"character":1,"line":213}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"},{"location":{"range":{"end":{"character":11,"line":232},"start":{"character":1,"line":232}},"uri":"file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"},"message":"Candidate constructor template not viable: requires 3 arguments, but 0 were provided"}],"severity":1,"source":"clang"},{"code":"ovl_no_viable_function_in_call","message":"No matching function for call to 'CreateRef'","range":{"end":{"character":53,"line":60},"start":{"character":23,"line":60}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp","version":0}}
V[10:44:52.410] ASTWorker running DocumentSymbols on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.410] --> reply:textDocument/documentSymbol(2) 794 ms
V[10:44:52.410] >>> {"id":2,"jsonrpc":"2.0","result":[{"children":[{"detail":"Ref<VertexBuffer> (uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":23},"start":{"character":4,"line":12}},"selectionRange":{"end":{"character":42,"line":12},"start":{"character":36,"line":12}}},{"detail":"Ref<VertexBuffer> (float *, uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":38},"start":{"character":4,"line":25}},"selectionRange":{"end":{"character":42,"line":25},"start":{"character":36,"line":25}}},{"detail":"Ref<IndexBuffer> (uint32_t *, uint32_t)","kind":6,"name":"IndexBuffer::Create","range":{"end":{"character":5,"line":52},"start":{"character":4,"line":40}},"selectionRange":{"end":{"character":40,"line":40},"start":{"character":34,"line":40}}},{"detail":"Ref<UniformBuffer> ()","kind":6,"name":"UniformBuffer::Create","range":{"end":{"character":5,"line":65},"start":{"character":4,"line":54}},"selectionRange":{"end":{"character":44,"line":54},"start":{"character":38,"line":54}}}],"kind":3,"name":"Aph","range":{"end":{"character":1,"line":66},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":13,"line":10},"start":{"character":10,"line":10}}}]}
I[10:44:52.410] --> reply:textDocument/codeAction(3) 794 ms, error: Task was cancelled.
V[10:44:52.410] >>> {"error":{"code":-32800,"message":"Request cancelled"},"id":3,"jsonrpc":"2.0"}
V[10:44:52.410] ASTWorker running DocumentLinks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.410] --> reply:textDocument/documentLink(4) 794 ms
V[10:44:52.410] >>> {"id":4,"jsonrpc":"2.0","result":[{"range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},{"range":{"end":{"character":40,"line":6},"start":{"character":9,"line":6}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Renderer.h"},{"range":{"end":{"character":41,"line":7},"start":{"character":9,"line":7}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Platform/OpenGL/OpenGLBuffer.h"},{"range":{"end":{"character":16,"line":8},"start":{"character":9,"line":8}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/pch.h"}]}
I[10:44:52.410] --> reply:textDocument/documentHighlight(5) 793 ms, error: Task was cancelled.
V[10:44:52.410] >>> {"error":{"code":-32800,"message":"Request cancelled"},"id":5,"jsonrpc":"2.0"}
V[10:44:52.410] ASTWorker running DocumentSymbols on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.410] --> reply:textDocument/documentSymbol(6) 793 ms
V[10:44:52.410] >>> {"id":6,"jsonrpc":"2.0","result":[{"children":[{"detail":"Ref<VertexBuffer> (uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":23},"start":{"character":4,"line":12}},"selectionRange":{"end":{"character":42,"line":12},"start":{"character":36,"line":12}}},{"detail":"Ref<VertexBuffer> (float *, uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":38},"start":{"character":4,"line":25}},"selectionRange":{"end":{"character":42,"line":25},"start":{"character":36,"line":25}}},{"detail":"Ref<IndexBuffer> (uint32_t *, uint32_t)","kind":6,"name":"IndexBuffer::Create","range":{"end":{"character":5,"line":52},"start":{"character":4,"line":40}},"selectionRange":{"end":{"character":40,"line":40},"start":{"character":34,"line":40}}},{"detail":"Ref<UniformBuffer> ()","kind":6,"name":"UniformBuffer::Create","range":{"end":{"character":5,"line":65},"start":{"character":4,"line":54}},"selectionRange":{"end":{"character":44,"line":54},"start":{"character":38,"line":54}}}],"kind":3,"name":"Aph","range":{"end":{"character":1,"line":66},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":13,"line":10},"start":{"character":10,"line":10}}}]}
I[10:44:52.410] --> reply:textDocument/codeAction(7) 793 ms, error: Task was cancelled.
V[10:44:52.410] >>> {"error":{"code":-32800,"message":"Request cancelled"},"id":7,"jsonrpc":"2.0"}
V[10:44:52.410] ASTWorker running DocumentLinks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.410] --> reply:textDocument/documentLink(8) 793 ms
V[10:44:52.410] >>> {"id":8,"jsonrpc":"2.0","result":[{"range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},{"range":{"end":{"character":40,"line":6},"start":{"character":9,"line":6}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Renderer.h"},{"range":{"end":{"character":41,"line":7},"start":{"character":9,"line":7}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Platform/OpenGL/OpenGLBuffer.h"},{"range":{"end":{"character":16,"line":8},"start":{"character":9,"line":8}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/pch.h"}]}
I[10:44:52.410] --> reply:textDocument/documentHighlight(9) 793 ms, error: Task was cancelled.
V[10:44:52.410] >>> {"error":{"code":-32800,"message":"Request cancelled"},"id":9,"jsonrpc":"2.0"}
V[10:44:52.410] ASTWorker running DocumentSymbols on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.410] --> reply:textDocument/documentSymbol(10) 766 ms
V[10:44:52.410] >>> {"id":10,"jsonrpc":"2.0","result":[{"children":[{"detail":"Ref<VertexBuffer> (uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":23},"start":{"character":4,"line":12}},"selectionRange":{"end":{"character":42,"line":12},"start":{"character":36,"line":12}}},{"detail":"Ref<VertexBuffer> (float *, uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":38},"start":{"character":4,"line":25}},"selectionRange":{"end":{"character":42,"line":25},"start":{"character":36,"line":25}}},{"detail":"Ref<IndexBuffer> (uint32_t *, uint32_t)","kind":6,"name":"IndexBuffer::Create","range":{"end":{"character":5,"line":52},"start":{"character":4,"line":40}},"selectionRange":{"end":{"character":40,"line":40},"start":{"character":34,"line":40}}},{"detail":"Ref<UniformBuffer> ()","kind":6,"name":"UniformBuffer::Create","range":{"end":{"character":5,"line":65},"start":{"character":4,"line":54}},"selectionRange":{"end":{"character":44,"line":54},"start":{"character":38,"line":54}}}],"kind":3,"name":"Aph","range":{"end":{"character":1,"line":66},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":13,"line":10},"start":{"character":10,"line":10}}}]}
V[10:44:52.410] ASTWorker running EnumerateTweaks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.411] --> reply:textDocument/codeAction(11) 767 ms
V[10:44:52.411] >>> {"id":11,"jsonrpc":"2.0","result":[]}
V[10:44:52.411] ASTWorker running DocumentLinks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.411] --> reply:textDocument/documentLink(12) 767 ms
V[10:44:52.411] >>> {"id":12,"jsonrpc":"2.0","result":[{"range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},{"range":{"end":{"character":40,"line":6},"start":{"character":9,"line":6}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Renderer.h"},{"range":{"end":{"character":41,"line":7},"start":{"character":9,"line":7}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Platform/OpenGL/OpenGLBuffer.h"},{"range":{"end":{"character":16,"line":8},"start":{"character":9,"line":8}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/pch.h"}]}
V[10:44:52.411] ASTWorker running Highlights on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.411] --> reply:textDocument/documentHighlight(13) 766 ms
V[10:44:52.411] >>> {"id":13,"jsonrpc":"2.0","result":[]}
V[10:44:52.416] <<< {"id":14,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:52.416] <-- textDocument/documentSymbol(14)
V[10:44:52.416] ASTWorker running DocumentSymbols on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
V[10:44:52.416] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":11}}
I[10:44:52.416] <-- $/cancelRequest
I[10:44:52.416] --> reply:textDocument/documentSymbol(14) 0 ms
V[10:44:52.416] >>> {"id":14,"jsonrpc":"2.0","result":[{"children":[{"detail":"Ref<VertexBuffer> (uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":23},"start":{"character":4,"line":12}},"selectionRange":{"end":{"character":42,"line":12},"start":{"character":36,"line":12}}},{"detail":"Ref<VertexBuffer> (float *, uint32_t)","kind":6,"name":"VertexBuffer::Create","range":{"end":{"character":5,"line":38},"start":{"character":4,"line":25}},"selectionRange":{"end":{"character":42,"line":25},"start":{"character":36,"line":25}}},{"detail":"Ref<IndexBuffer> (uint32_t *, uint32_t)","kind":6,"name":"IndexBuffer::Create","range":{"end":{"character":5,"line":52},"start":{"character":4,"line":40}},"selectionRange":{"end":{"character":40,"line":40},"start":{"character":34,"line":40}}},{"detail":"Ref<UniformBuffer> ()","kind":6,"name":"UniformBuffer::Create","range":{"end":{"character":5,"line":65},"start":{"character":4,"line":54}},"selectionRange":{"end":{"character":44,"line":54},"start":{"character":38,"line":54}}}],"kind":3,"name":"Aph","range":{"end":{"character":1,"line":66},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":13,"line":10},"start":{"character":10,"line":10}}}]}
V[10:44:52.416] <<< {"id":15,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[{"code":"unknown_typename","message":"In included file: unknown type name 'uint32_t'","range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"relatedInformation":[{"location":{"range":{"end":{"character":19,"line":19},"start":{"character":11,"line":19}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},"message":"Error occurred here"}],"severity":1,"source":"clang"}]},"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:52.416] <-- textDocument/codeAction(15)
V[10:44:52.416] ASTWorker running EnumerateTweaks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
V[10:44:52.416] <<< {"id":16,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:52.416] <-- textDocument/documentLink(16)
I[10:44:52.416] --> reply:textDocument/codeAction(15) 0 ms
V[10:44:52.416] >>> {"id":15,"jsonrpc":"2.0","result":[]}
V[10:44:52.416] ASTWorker running DocumentLinks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.416] --> reply:textDocument/documentLink(16) 0 ms
V[10:44:52.416] >>> {"id":16,"jsonrpc":"2.0","result":[{"range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},{"range":{"end":{"character":40,"line":6},"start":{"character":9,"line":6}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Renderer.h"},{"range":{"end":{"character":41,"line":7},"start":{"character":9,"line":7}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Platform/OpenGL/OpenGLBuffer.h"},{"range":{"end":{"character":16,"line":8},"start":{"character":9,"line":8}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/pch.h"}]}
V[10:44:52.416] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":13}}
I[10:44:52.416] <-- $/cancelRequest
V[10:44:52.416] <<< {"id":17,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:44:52.416] <-- textDocument/documentHighlight(17)
V[10:44:52.416] ASTWorker running Highlights on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:44:52.416] --> reply:textDocument/documentHighlight(17) 0 ms
V[10:44:52.416] >>> {"id":17,"jsonrpc":"2.0","result":[]}
V[10:48:17.213] <<< {"id":18,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:48:17.213] <-- textDocument/hover(18)
V[10:48:17.213] ASTWorker running Hover on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:48:17.213] --> reply:textDocument/hover(18) 0 ms
V[10:48:17.213] >>> {"id":18,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### `Buffer.h` \n\n---\n```\n/home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h\n```"}}}
V[10:48:17.214] <<< {"id":19,"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[{"code":"unknown_typename","message":"In included file: unknown type name 'uint32_t'","range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"relatedInformation":[{"location":{"range":{"end":{"character":19,"line":19},"start":{"character":11,"line":19}},"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},"message":"Error occurred here"}],"severity":1,"source":"clang"}]},"range":{"end":{"character":29,"line":4},"start":{"character":29,"line":4}},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:48:17.214] <-- textDocument/codeAction(19)
V[10:48:17.214] ASTWorker running EnumerateTweaks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:48:17.214] --> reply:textDocument/codeAction(19) 0 ms
V[10:48:17.214] <<< {"id":20,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:48:17.214] <-- textDocument/documentLink(20)
V[10:48:17.214] >>> {"id":19,"jsonrpc":"2.0","result":[]}
V[10:48:17.214] ASTWorker running DocumentLinks on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:48:17.214] --> reply:textDocument/documentLink(20) 0 ms
V[10:48:17.214] >>> {"id":20,"jsonrpc":"2.0","result":[{"range":{"end":{"character":38,"line":4},"start":{"character":9,"line":4}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"},{"range":{"end":{"character":40,"line":6},"start":{"character":9,"line":6}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Renderer.h"},{"range":{"end":{"character":41,"line":7},"start":{"character":9,"line":7}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Platform/OpenGL/OpenGLBuffer.h"},{"range":{"end":{"character":16,"line":8},"start":{"character":9,"line":8}},"target":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/pch.h"}]}
V[10:48:17.214] <<< {"id":21,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":29,"line":4},"textDocument":{"uri":"file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"}}}
I[10:48:17.214] <-- textDocument/documentHighlight(21)
V[10:48:17.214] ASTWorker running Highlights on version 0 of /home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp
I[10:48:17.214] --> reply:textDocument/documentHighlight(21) 0 ms
V[10:48:17.214] >>> {"id":21,"jsonrpc":"2.0","result":[]}
(setq lsp-headerline-breadcrumb-enable t)
(setq lsp-log-io t)
(setq lsp-clients-clangd-args '("-j=16"
"--all-scopes-completion"
"--clang-tidy"
"--enable-config"
"--background-index"
"--completion-style=detailed"
"--header-insertion=never"
"--log=verbose"
"--pch-storage=memory"
;; "--query-driver=/usr/bin/g++"
"--header-insertion-decorators"))
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
[-] /home/npchitman/workspace/Aphrodite
`-[-] clangd:5215
|-[-] Buffers
| |-[+] Buffer.h
| `-[+] Buffer.cpp
`-[+] Capabilities
[Trace - 09:43:31 AM] Sending request 'initialize - (1)'.
Params: {
"processId": null,
"rootPath": "/home/npchitman/workspace/Aphrodite",
"clientInfo": {
"name": "emacs",
"version": "GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)\n of 2022-04-05"
},
"rootUri": "file:///home/npchitman/workspace/Aphrodite",
"capabilities": {
"workspace": {
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
]
},
"applyEdit": true,
"symbol": {
"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
]
}
},
"executeCommand": {
"dynamicRegistration": false
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"configuration": true,
"codeLens": {
"refreshSupport": true
},
"fileOperations": {
"didCreate": false,
"willCreate": false,
"didRename": false,
"willRename": false,
"didDelete": false,
"willDelete": false
}
},
"textDocument": {
"declaration": {
"linkSupport": true
},
"definition": {
"linkSupport": true
},
"implementation": {
"linkSupport": true
},
"typeDefinition": {
"linkSupport": true
},
"synchronization": {
"willSave": true,
"didSave": true,
"willSaveWaitUntil": true
},
"documentSymbol": {
"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
]
},
"hierarchicalDocumentSymbolSupport": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"resolveSupport": {
"properties": [
"edit",
"command"
]
},
"dataSupport": true
},
"completion": {
"completionItem": {
"snippetSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"resolveAdditionalTextEditsSupport": true,
"insertReplaceSupport": true,
"deprecatedSupport": true,
"resolveSupport": {
"properties": [
"documentation",
"details",
"additionalTextEdits",
"command"
]
},
"insertTextModeSupport": {
"valueSet": [
1,
2
]
}
},
"contextSupport": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
]
},
"foldingRange": null,
"callHierarchy": {
"dynamicRegistration": false
},
"publishDiagnostics": {
"relatedInformation": true,
"tagSupport": {
"valueSet": [
1,
2
]
},
"versionSupport": true
},
"linkedEditingRange": {
"dynamicRegistration": true
}
},
"window": {
"workDoneProgress": true,
"showMessage": null,
"showDocument": {
"support": true
}
}
},
"initializationOptions": null,
"workDoneToken": "1"
}
[Trace - 09:43:31 AM] Received response 'initialize - (1)' in 60ms.
Result: {
"capabilities": {
"astProvider": true,
"callHierarchyProvider": true,
"clangdInlayHintsProvider": true,
"codeActionProvider": {
"codeActionKinds": [
"quickfix",
"refactor",
"info"
]
},
"compilationDatabase": {
"automaticReload": true
},
"completionProvider": {
"allCommitCharacters": [
" ",
"\t",
"(",
")",
"[",
"]",
"{",
"}",
"<",
">",
":",
";",
",",
"+",
"-",
"/",
"*",
"%",
"^",
"&",
"#",
"?",
".",
"=",
"\"",
"'",
"|"
],
"resolveProvider": null,
"triggerCharacters": [
".",
"<",
">",
":",
"\"",
"/",
"*"
]
},
"declarationProvider": true,
"definitionProvider": true,
"documentFormattingProvider": true,
"documentHighlightProvider": true,
"documentLinkProvider": {
"resolveProvider": null
},
"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": null
},
"signatureHelpProvider": {
"triggerCharacters": [
"(",
")",
"{",
"}",
"<",
">",
","
]
},
"textDocumentSync": {
"change": 2,
"openClose": true,
"save": true
},
"typeDefinitionProvider": true,
"typeHierarchyProvider": true,
"workspaceSymbolProvider": true
},
"serverInfo": {
"name": "clangd",
"version": "clangd version 14.0.1 linux x86_64-pc-linux-gnu"
}
}
[Trace - 09:43:31 AM] Sending notification 'initialized'.
Params: {}
[Trace - 09:43:31 AM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp",
"languageId": "cpp",
"version": 0,
"text": "//\n// Created by npchitman on 6/1/21.\n//\n\n#include \"Aphrodite/Renderer/Buffer.h\"\n\n#include \"Aphrodite/Renderer/Renderer.h\"\n#include \"Platform/OpenGL/OpenGLBuffer.h\"\n#include \"pch.h\"\n\nnamespace Aph {\n\n Ref<VertexBuffer> VertexBuffer::Create(uint32_t size) {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLVertexBuffer>(size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<VertexBuffer> VertexBuffer::Create(float *vertices,\n uint32_t size) {\n switch (Renderer::GetAPI()) {\n\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLVertexBuffer>(vertices, size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<IndexBuffer> IndexBuffer::Create(uint32_t *indices,\n uint32_t size) {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLIndexBuffer>(indices, size);\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n\n Ref<UniformBuffer> UniformBuffer::Create() {\n switch (Renderer::GetAPI()) {\n case RendererAPI::API::None:\n APH_CORE_ASSERT(false, \"RendererAPI::None is currently not supported!\");\n return nullptr;\n case RendererAPI::API::OpenGL:\n return CreateRef<OpenGLUniformBuffer>();\n default:\n APH_CORE_ASSERT(false, \"Unknown RendererAPI!\");\n return nullptr;\n }\n }\n}// namespace Aph-Runtime\n"
}
}
[Trace - 09:43:31 AM] Sending request 'textDocument/documentSymbol - (2)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
}
}
[Trace - 09:43:31 AM] Sending request 'textDocument/codeAction - (3)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
},
"range": {
"start": {
"line": 4,
"character": 29
},
"end": {
"line": 4,
"character": 29
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:43:31 AM] Sending request 'textDocument/documentLink - (4)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
}
}
[Trace - 09:43:31 AM] Sending request 'textDocument/documentHighlight - (5)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
},
"position": {
"line": 4,
"character": 29
}
}
[Trace - 09:43:31 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"diagnostics": [],
"uri": "file:///home/npchitman/.config/clangd/config.yaml"
}
[Trace - 09:43:31 AM] Received request 'window/workDoneProgress/create - (0).
Params: {
"token": "backgroundIndexProgress"
}
[Trace - 09:43:31 AM] Sending response 'window/workDoneProgress/create - (0)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 0,
"result": null
}
[Trace - 09:43:31 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "begin",
"percentage": 0,
"title": "indexing"
}
}
[Trace - 09:43:31 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "0/1",
"percentage": 0
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "0/5",
"percentage": 0
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "1/5",
"percentage": 20
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "1/5",
"percentage": 20
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "1/5",
"percentage": 20
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "1/5",
"percentage": 20
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "1/5",
"percentage": 20
}
}
[Trace - 09:43:32 AM] Sending notification '$/cancelRequest'.
Params: {
"id": 4
}
[Trace - 09:43:32 AM] Sending notification '$/cancelRequest'.
Params: {
"id": 3
}
[Trace - 09:43:32 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"diagnostics": [
{
"code": "unknown_typename",
"message": "In included file: unknown type name 'uint32_t'",
"range": {
"end": {
"character": 38,
"line": 4
},
"start": {
"character": 9,
"line": 4
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 19,
"line": 19
},
"start": {
"character": 11,
"line": 19
}
},
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"message": "Error occurred here"
}
],
"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"
},
{
"code": "member_decl_does_not_match",
"message": "Out-of-line definition of 'Create' does not match any declaration in 'Aph::VertexBuffer'",
"range": {
"end": {
"character": 42,
"line": 12
},
"start": {
"character": 36,
"line": 12
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_init",
"message": "In template: no matching constructor for initialization of 'std::shared_ptr<Aph::VertexBuffer>'",
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 23,
"line": 16
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 59,
"line": 356
},
"start": {
"character": 49,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Error occurred here"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 16
},
"start": {
"character": 23,
"line": 16
}
},
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
},
"message": "In instantiation of member function 'std::shared_ptr<Aph::VertexBuffer>::shared_ptr' requested here"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 149
},
"start": {
"character": 6,
"line": 149
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 159
},
"start": {
"character": 1,
"line": 159
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 295
},
"start": {
"character": 1,
"line": 295
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 303
},
"start": {
"character": 6,
"line": 303
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 312
},
"start": {
"character": 1,
"line": 312
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 324
},
"start": {
"character": 10,
"line": 324
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 331
},
"start": {
"character": 1,
"line": 331
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 339
},
"start": {
"character": 1,
"line": 339
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 356
},
"start": {
"character": 16,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 176
},
"start": {
"character": 1,
"line": 176
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 193
},
"start": {
"character": 1,
"line": 193
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 407
},
"start": {
"character": 1,
"line": 407
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 416
},
"start": {
"character": 6,
"line": 416
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 213
},
"start": {
"character": 1,
"line": 213
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 232
},
"start": {
"character": 1,
"line": 232
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
}
],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_call",
"message": "No matching function for call to 'CreateRef'",
"range": {
"end": {
"character": 52,
"line": 18
},
"start": {
"character": 23,
"line": 18
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "member_decl_does_not_match",
"message": "Out-of-line definition of 'Create' does not match any declaration in 'Aph::VertexBuffer'",
"range": {
"end": {
"character": 42,
"line": 25
},
"start": {
"character": 36,
"line": 25
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_call",
"message": "No matching function for call to 'CreateRef'",
"range": {
"end": {
"character": 52,
"line": 33
},
"start": {
"character": 23,
"line": 33
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "member_decl_does_not_match",
"message": "Out-of-line definition of 'Create' does not match any declaration in 'Aph::IndexBuffer'",
"range": {
"end": {
"character": 40,
"line": 40
},
"start": {
"character": 34,
"line": 40
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_init",
"message": "In template: no matching constructor for initialization of 'std::shared_ptr<Aph::IndexBuffer>'",
"range": {
"end": {
"character": 30,
"line": 45
},
"start": {
"character": 23,
"line": 45
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 59,
"line": 356
},
"start": {
"character": 49,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Error occurred here"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 45
},
"start": {
"character": 23,
"line": 45
}
},
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
},
"message": "In instantiation of member function 'std::shared_ptr<Aph::IndexBuffer>::shared_ptr' requested here"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 149
},
"start": {
"character": 6,
"line": 149
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 159
},
"start": {
"character": 1,
"line": 159
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 295
},
"start": {
"character": 1,
"line": 295
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 303
},
"start": {
"character": 6,
"line": 303
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 312
},
"start": {
"character": 1,
"line": 312
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 324
},
"start": {
"character": 10,
"line": 324
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 331
},
"start": {
"character": 1,
"line": 331
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 339
},
"start": {
"character": 1,
"line": 339
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 356
},
"start": {
"character": 16,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 176
},
"start": {
"character": 1,
"line": 176
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 193
},
"start": {
"character": 1,
"line": 193
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 407
},
"start": {
"character": 1,
"line": 407
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 416
},
"start": {
"character": 6,
"line": 416
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 213
},
"start": {
"character": 1,
"line": 213
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 232
},
"start": {
"character": 1,
"line": 232
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
}
],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_call",
"message": "No matching function for call to 'CreateRef'",
"range": {
"end": {
"character": 51,
"line": 47
},
"start": {
"character": 23,
"line": 47
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_init",
"message": "In template: no matching constructor for initialization of 'std::shared_ptr<Aph::UniformBuffer>'",
"range": {
"end": {
"character": 30,
"line": 58
},
"start": {
"character": 23,
"line": 58
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 59,
"line": 356
},
"start": {
"character": 49,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Error occurred here"
},
{
"location": {
"range": {
"end": {
"character": 30,
"line": 58
},
"start": {
"character": 23,
"line": 58
}
},
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp"
},
"message": "In instantiation of member function 'std::shared_ptr<Aph::UniformBuffer>::shared_ptr' requested here"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 149
},
"start": {
"character": 6,
"line": 149
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 159
},
"start": {
"character": 1,
"line": 159
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__p', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 295
},
"start": {
"character": 1,
"line": 295
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 303
},
"start": {
"character": 6,
"line": 303
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 312
},
"start": {
"character": 1,
"line": 312
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 20,
"line": 324
},
"start": {
"character": 10,
"line": 324
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 331
},
"start": {
"character": 1,
"line": 331
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 339
},
"start": {
"character": 1,
"line": 339
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires single argument '__r', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 26,
"line": 356
},
"start": {
"character": 16,
"line": 356
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 1 argument, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 176
},
"start": {
"character": 1,
"line": 176
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 193
},
"start": {
"character": 1,
"line": 193
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 407
},
"start": {
"character": 1,
"line": 407
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires at least argument '__tag', but no arguments were provided"
},
{
"location": {
"range": {
"end": {
"character": 16,
"line": 416
},
"start": {
"character": 6,
"line": 416
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor not viable: requires 2 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 213
},
"start": {
"character": 1,
"line": 213
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
},
{
"location": {
"range": {
"end": {
"character": 11,
"line": 232
},
"start": {
"character": 1,
"line": 232
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/bits/shared_ptr.h"
},
"message": "Candidate constructor template not viable: requires 3 arguments, but 0 were provided"
}
],
"severity": 1,
"source": "clang"
},
{
"code": "ovl_no_viable_function_in_call",
"message": "No matching function for call to 'CreateRef'",
"range": {
"end": {
"character": 53,
"line": 60
},
"start": {
"character": 23,
"line": 60
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
}
],
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.cpp",
"version": 0
}
[Trace - 09:43:32 AM] Received response 'textDocument/documentSymbol - (2)' in 699ms.
Result: [
{
"children": [
{
"detail": "Ref<VertexBuffer> (uint32_t)",
"kind": 6,
"name": "VertexBuffer::Create",
"range": {
"end": {
"character": 5,
"line": 23
},
"start": {
"character": 4,
"line": 12
}
},
"selectionRange": {
"end": {
"character": 42,
"line": 12
},
"start": {
"character": 36,
"line": 12
}
}
},
{
"detail": "Ref<VertexBuffer> (float *, uint32_t)",
"kind": 6,
"name": "VertexBuffer::Create",
"range": {
"end": {
"character": 5,
"line": 38
},
"start": {
"character": 4,
"line": 25
}
},
"selectionRange": {
"end": {
"character": 42,
"line": 25
},
"start": {
"character": 36,
"line": 25
}
}
},
{
"detail": "Ref<IndexBuffer> (uint32_t *, uint32_t)",
"kind": 6,
"name": "IndexBuffer::Create",
"range": {
"end": {
"character": 5,
"line": 52
},
"start": {
"character": 4,
"line": 40
}
},
"selectionRange": {
"end": {
"character": 40,
"line": 40
},
"start": {
"character": 34,
"line": 40
}
}
},
{
"detail": "Ref<UniformBuffer> ()",
"kind": 6,
"name": "UniformBuffer::Create",
"range": {
"end": {
"character": 5,
"line": 65
},
"start": {
"character": 4,
"line": 54
}
},
"selectionRange": {
"end": {
"character": 44,
"line": 54
},
"start": {
"character": 38,
"line": 54
}
}
}
],
"kind": 3,
"name": "Aph",
"range": {
"end": {
"character": 1,
"line": 66
},
"start": {
"character": 0,
"line": 10
}
},
"selectionRange": {
"end": {
"character": 13,
"line": 10
},
"start": {
"character": 10,
"line": 10
}
}
}
]
[Trace - 09:43:32 AM] Received response 'nil - (3)' in 0ms.
Result: {
"code": -32800,
"message": "Request cancelled"
}
[Trace - 09:43:32 AM] Received response 'nil - (4)' in 0ms.
Result: {
"code": -32800,
"message": "Request cancelled"
}
[Trace - 09:43:32 AM] Received response 'textDocument/documentHighlight - (5)' in 699ms.
Result: []
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "2/5",
"percentage": 40
}
}
[Trace - 09:43:32 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "3/5",
"percentage": 60
}
}
[Trace - 09:43:33 AM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h",
"languageId": "cpp",
"version": 0,
"text": "#include <utility>\n\n//\n// Created by npchitman on 6/1/21.\n//\n\n#ifndef Aphrodite_ENGINE_BUFFER_H\n#define Aphrodite_ENGINE_BUFFER_H\n\nnamespace Aph {\n\n enum class ShaderDataType {\n None = 0,\n Float, Float2, Float3, Float4,\n Mat3, Mat4,\n Int, Int2, Int3, Int4,\n Bool\n };\n\n static uint32_t ShaderDataTypeSize(ShaderDataType type) {\n switch (type) {\n case ShaderDataType::Float:\n return 4;\n case ShaderDataType::Float2:\n return 4 * 2;\n case ShaderDataType::Float3:\n return 4 * 3;\n case ShaderDataType::Float4:\n return 4 * 4;\n case ShaderDataType::Mat3:\n return 4 * 3 * 3;\n case ShaderDataType::Mat4:\n return 4 * 4 * 4;\n case ShaderDataType::Int:\n return 4;\n case ShaderDataType::Int2:\n return 4 * 2;\n case ShaderDataType::Int3:\n return 4 * 3;\n case ShaderDataType::Int4:\n return 4 * 4;\n case ShaderDataType::Bool:\n return 1;\n default:\n APH_CORE_ASSERT(false, \"Unknown ShaderDataType!\");\n return 0;\n }\n }\n\n struct BufferElement {\n std::string Name;\n ShaderDataType Type{};\n uint32_t Size{};\n size_t Offset{};\n bool Normalized{};\n\n BufferElement() = default;\n\n BufferElement(ShaderDataType type, std::string name, bool normalized = false)\n : Name(std::move(name)),\n Type(type),\n Size(ShaderDataTypeSize(type)),\n Offset(0),\n Normalized(normalized) {}\n\n uint32_t GetComponentCount() const {\n switch (Type) {\n case ShaderDataType::Float:\n return 1;\n case ShaderDataType::Float2:\n return 2;\n case ShaderDataType::Float3:\n return 3;\n case ShaderDataType::Float4:\n return 4;\n case ShaderDataType::Mat3:\n return 3;\n case ShaderDataType::Mat4:\n return 4;\n case ShaderDataType::Int:\n return 1;\n case ShaderDataType::Int2:\n return 2;\n case ShaderDataType::Int3:\n return 3;\n case ShaderDataType::Int4:\n return 4;\n case ShaderDataType::Bool:\n return 1;\n default:\n APH_CORE_ASSERT(false, \"Unknown ShaderDataType!\");\n return 0;\n }\n }\n };\n\n class BufferLayout {\n public:\n BufferLayout() = default;\n BufferLayout(std::initializer_list<BufferElement> elements)\n : m_Elements(elements) {\n CalculateOffsetsAndStride();\n }\n\n uint32_t GetStride() const { return m_Stride; }\n\n const std::vector<BufferElement> &GetElements() const {\n return m_Elements;\n }\n\n std::vector<BufferElement>::iterator begin() { return m_Elements.begin(); }\n std::vector<BufferElement>::iterator end() { return m_Elements.end(); }\n std::vector<BufferElement>::const_iterator begin() const { return m_Elements.cbegin(); }\n std::vector<BufferElement>::const_iterator end() const { return m_Elements.cend(); }\n\n private:\n void CalculateOffsetsAndStride() {\n size_t offset = 0;\n m_Stride = 0;\n for (auto &element : m_Elements) {\n element.Offset = offset;\n offset += element.Size;\n m_Stride += element.Size;\n }\n }\n\n private:\n std::vector<BufferElement> m_Elements;\n uint32_t m_Stride = 0;\n };\n\n class VertexBuffer {\n public:\n virtual ~VertexBuffer() = default;\n\n virtual void Bind() const = 0;\n\n virtual void UnBind() const = 0;\n\n virtual void SetData(const void *data, uint32_t size) = 0;\n\n virtual const BufferLayout &GetLayout() const = 0;\n virtual void SetLayout(const BufferLayout &layout) = 0;\n\n static Ref<VertexBuffer> Create(uint32_t size);\n static Ref<VertexBuffer> Create(float *vertices, uint32_t size);\n };\n\n class IndexBuffer {\n public:\n virtual ~IndexBuffer() = default;\n\n virtual void Bind() const = 0;\n\n virtual void UnBind() const = 0;\n\n virtual uint32_t GetCount() const = 0;\n\n static Ref<IndexBuffer> Create(uint32_t *indices, uint32_t count);\n };\n\n class UniformBuffer {\n public:\n virtual ~UniformBuffer() = default;\n\n virtual void Bind() const = 0;\n virtual void Unbind() const = 0;\n virtual void SetData(void *data, uint32_t offset, uint32_t size) = 0;\n virtual void SetLayout(const BufferLayout &layout, uint32_t blockIndex, uint32_t count = 1) = 0;\n\n static Ref<UniformBuffer> Create();\n };\n\n}// namespace Aph\n\n#endif// Aphrodite_ENGINE_BUFFER_H\n"
}
}
[Trace - 09:43:33 AM] Sending request 'textDocument/documentSymbol - (6)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
}
}
[Trace - 09:43:33 AM] Sending request 'textDocument/codeAction - (7)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 14
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:43:33 AM] Sending request 'textDocument/documentLink - (8)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
}
}
[Trace - 09:43:33 AM] Sending request 'textDocument/documentHighlight - (9)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"position": {
"line": 0,
"character": 14
}
}
[Trace - 09:43:33 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "report",
"message": "4/5",
"percentage": 80
}
}
[Trace - 09:43:33 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"diagnostics": [
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 19,
"line": 19
},
"start": {
"character": 11,
"line": 19
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "undeclared_var_use",
"message": "Use of undeclared identifier 'APH_CORE_ASSERT' (fix available)",
"range": {
"end": {
"character": 31,
"line": 44
},
"start": {
"character": 16,
"line": 44
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "typename_nested_not_found",
"message": "No type named 'string' in namespace 'std' (fix available)",
"range": {
"end": {
"character": 19,
"line": 50
},
"start": {
"character": 13,
"line": 50
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 16,
"line": 52
},
"start": {
"character": 8,
"line": 52
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename_suggest",
"message": "Unknown type name 'size_t'; did you mean 'std::size_t'? (fixes available)",
"range": {
"end": {
"character": 14,
"line": 53
},
"start": {
"character": 8,
"line": 53
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 31,
"line": 279
},
"start": {
"character": 25,
"line": 279
}
},
"uri": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/x86_64-pc-linux-gnu/bits/c%2B%2Bconfig.h"
},
"message": "'std::size_t' declared here"
}
],
"severity": 1,
"source": "clang"
},
{
"code": "typename_nested_not_found",
"message": "No type named 'string' in namespace 'std' (fix available)",
"range": {
"end": {
"character": 54,
"line": 58
},
"start": {
"character": 48,
"line": 58
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 16,
"line": 65
},
"start": {
"character": 8,
"line": 65
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "undeclared_var_use",
"message": "Use of undeclared identifier 'APH_CORE_ASSERT' (fix available)",
"range": {
"end": {
"character": 35,
"line": 90
},
"start": {
"character": 20,
"line": 90
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 16,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "no_member_template",
"message": "No template named 'vector' in namespace 'std' (fix available)",
"range": {
"end": {
"character": 25,
"line": 106
},
"start": {
"character": 19,
"line": 106
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "no_member_template",
"message": "No template named 'vector' in namespace 'std' (fix available)",
"range": {
"end": {
"character": 19,
"line": 110
},
"start": {
"character": 13,
"line": 110
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "member_qualification",
"message": "Non-friend class member 'iterator' cannot have a qualified name",
"range": {
"end": {
"character": 44,
"line": 110
},
"start": {
"character": 36,
"line": 110
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "expected_semi_decl_list",
"message": "Expected ';' at end of declaration list (fix available)",
"range": {
"end": {
"character": 50,
"line": 110
},
"start": {
"character": 45,
"line": 110
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 16,
"line": 128
},
"start": {
"character": 8,
"line": 128
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "mem_init_not_member_or_class",
"message": "Member initializer 'm_Elements' does not name a non-static data member or base class",
"range": {
"end": {
"character": 34,
"line": 100
},
"start": {
"character": 14,
"line": 100
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "undeclared_var_use",
"message": "Use of undeclared identifier 'CalculateOffsetsAndStride'",
"range": {
"end": {
"character": 37,
"line": 101
},
"start": {
"character": 12,
"line": 101
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "undeclared_var_use",
"message": "Use of undeclared identifier 'm_Elements'",
"range": {
"end": {
"character": 29,
"line": 107
},
"start": {
"character": 19,
"line": 107
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "unknown_typename",
"message": "Unknown type name 'uint32_t' (fix available)",
"range": {
"end": {
"character": 55,
"line": 139
},
"start": {
"character": 47,
"line": 139
}
},
"relatedInformation": [],
"severity": 1,
"source": "clang"
},
{
"code": "no_template",
"message": "No template named 'Ref'",
"range": {
"end": {
"character": 18,
"line": 144
},
"start": {
"character": 15,
"line": 144
}
},
"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:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h",
"version": 0
}
[Trace - 09:43:33 AM] Received response 'textDocument/documentSymbol - (6)' in 80ms.
Result: [
{
"children": [
{
"children": [
{
"detail": "ShaderDataType",
"kind": 22,
"name": "None",
"range": {
"end": {
"character": 16,
"line": 12
},
"start": {
"character": 8,
"line": 12
}
},
"selectionRange": {
"end": {
"character": 12,
"line": 12
},
"start": {
"character": 8,
"line": 12
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Float",
"range": {
"end": {
"character": 13,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
},
"selectionRange": {
"end": {
"character": 13,
"line": 13
},
"start": {
"character": 8,
"line": 13
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Float2",
"range": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 15,
"line": 13
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 13
},
"start": {
"character": 15,
"line": 13
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Float3",
"range": {
"end": {
"character": 29,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
},
"selectionRange": {
"end": {
"character": 29,
"line": 13
},
"start": {
"character": 23,
"line": 13
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Float4",
"range": {
"end": {
"character": 37,
"line": 13
},
"start": {
"character": 31,
"line": 13
}
},
"selectionRange": {
"end": {
"character": 37,
"line": 13
},
"start": {
"character": 31,
"line": 13
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Mat3",
"range": {
"end": {
"character": 12,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
},
"selectionRange": {
"end": {
"character": 12,
"line": 14
},
"start": {
"character": 8,
"line": 14
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Mat4",
"range": {
"end": {
"character": 18,
"line": 14
},
"start": {
"character": 14,
"line": 14
}
},
"selectionRange": {
"end": {
"character": 18,
"line": 14
},
"start": {
"character": 14,
"line": 14
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Int",
"range": {
"end": {
"character": 11,
"line": 15
},
"start": {
"character": 8,
"line": 15
}
},
"selectionRange": {
"end": {
"character": 11,
"line": 15
},
"start": {
"character": 8,
"line": 15
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Int2",
"range": {
"end": {
"character": 17,
"line": 15
},
"start": {
"character": 13,
"line": 15
}
},
"selectionRange": {
"end": {
"character": 17,
"line": 15
},
"start": {
"character": 13,
"line": 15
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Int3",
"range": {
"end": {
"character": 23,
"line": 15
},
"start": {
"character": 19,
"line": 15
}
},
"selectionRange": {
"end": {
"character": 23,
"line": 15
},
"start": {
"character": 19,
"line": 15
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Int4",
"range": {
"end": {
"character": 29,
"line": 15
},
"start": {
"character": 25,
"line": 15
}
},
"selectionRange": {
"end": {
"character": 29,
"line": 15
},
"start": {
"character": 25,
"line": 15
}
}
},
{
"detail": "ShaderDataType",
"kind": 22,
"name": "Bool",
"range": {
"end": {
"character": 12,
"line": 16
},
"start": {
"character": 8,
"line": 16
}
},
"selectionRange": {
"end": {
"character": 12,
"line": 16
},
"start": {
"character": 8,
"line": 16
}
}
}
],
"detail": "enum",
"kind": 10,
"name": "ShaderDataType",
"range": {
"end": {
"character": 5,
"line": 17
},
"start": {
"character": 4,
"line": 11
}
},
"selectionRange": {
"end": {
"character": 29,
"line": 11
},
"start": {
"character": 15,
"line": 11
}
}
},
{
"detail": "int (ShaderDataType)",
"kind": 12,
"name": "ShaderDataTypeSize",
"range": {
"end": {
"character": 5,
"line": 47
},
"start": {
"character": 4,
"line": 19
}
},
"selectionRange": {
"end": {
"character": 38,
"line": 19
},
"start": {
"character": 20,
"line": 19
}
}
},
{
"children": [
{
"detail": "int",
"kind": 8,
"name": "Name",
"range": {
"end": {
"character": 24,
"line": 50
},
"start": {
"character": 8,
"line": 50
}
},
"selectionRange": {
"end": {
"character": 24,
"line": 50
},
"start": {
"character": 20,
"line": 50
}
}
},
{
"detail": "ShaderDataType",
"kind": 8,
"name": "Type",
"range": {
"end": {
"character": 29,
"line": 51
},
"start": {
"character": 8,
"line": 51
}
},
"selectionRange": {
"end": {
"character": 27,
"line": 51
},
"start": {
"character": 23,
"line": 51
}
}
},
{
"detail": "int",
"kind": 8,
"name": "Size",
"range": {
"end": {
"character": 21,
"line": 52
},
"start": {
"character": 8,
"line": 52
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 52
},
"start": {
"character": 17,
"line": 52
}
}
},
{
"detail": "std::size_t",
"kind": 8,
"name": "Offset",
"range": {
"end": {
"character": 23,
"line": 53
},
"start": {
"character": 8,
"line": 53
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 53
},
"start": {
"character": 15,
"line": 53
}
}
},
{
"detail": "bool",
"kind": 8,
"name": "Normalized",
"range": {
"end": {
"character": 25,
"line": 54
},
"start": {
"character": 8,
"line": 54
}
},
"selectionRange": {
"end": {
"character": 23,
"line": 54
},
"start": {
"character": 13,
"line": 54
}
}
},
{
"detail": "()",
"kind": 9,
"name": "BufferElement",
"range": {
"end": {
"character": 33,
"line": 56
},
"start": {
"character": 8,
"line": 56
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 56
},
"start": {
"character": 8,
"line": 56
}
}
},
{
"detail": "(ShaderDataType, int, bool)",
"kind": 9,
"name": "BufferElement",
"range": {
"end": {
"character": 39,
"line": 63
},
"start": {
"character": 8,
"line": 58
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 58
},
"start": {
"character": 8,
"line": 58
}
}
},
{
"detail": "int () const",
"kind": 6,
"name": "GetComponentCount",
"range": {
"end": {
"character": 9,
"line": 93
},
"start": {
"character": 8,
"line": 65
}
},
"selectionRange": {
"end": {
"character": 34,
"line": 65
},
"start": {
"character": 17,
"line": 65
}
}
}
],
"detail": "struct",
"kind": 23,
"name": "BufferElement",
"range": {
"end": {
"character": 5,
"line": 94
},
"start": {
"character": 4,
"line": 49
}
},
"selectionRange": {
"end": {
"character": 24,
"line": 49
},
"start": {
"character": 11,
"line": 49
}
}
},
{
"children": [
{
"detail": "()",
"kind": 9,
"name": "BufferLayout",
"range": {
"end": {
"character": 32,
"line": 98
},
"start": {
"character": 8,
"line": 98
}
},
"selectionRange": {
"end": {
"character": 20,
"line": 98
},
"start": {
"character": 8,
"line": 98
}
}
},
{
"detail": "(std::initializer_list<BufferElement>)",
"kind": 9,
"name": "BufferLayout",
"range": {
"end": {
"character": 9,
"line": 102
},
"start": {
"character": 8,
"line": 99
}
},
"selectionRange": {
"end": {
"character": 20,
"line": 99
},
"start": {
"character": 8,
"line": 99
}
}
},
{
"detail": "int () const",
"kind": 6,
"name": "GetStride",
"range": {
"end": {
"character": 55,
"line": 104
},
"start": {
"character": 8,
"line": 104
}
},
"selectionRange": {
"end": {
"character": 26,
"line": 104
},
"start": {
"character": 17,
"line": 104
}
}
},
{
"detail": "const int &() const",
"kind": 6,
"name": "GetElements",
"range": {
"end": {
"character": 9,
"line": 108
},
"start": {
"character": 8,
"line": 106
}
},
"selectionRange": {
"end": {
"character": 53,
"line": 106
},
"start": {
"character": 42,
"line": 106
}
}
},
{
"detail": "int",
"kind": 8,
"name": "iterator",
"range": {
"end": {
"character": 44,
"line": 110
},
"start": {
"character": 8,
"line": 110
}
},
"selectionRange": {
"end": {
"character": 44,
"line": 110
},
"start": {
"character": 36,
"line": 110
}
}
},
{
"detail": "int",
"kind": 8,
"name": "m_Stride",
"range": {
"end": {
"character": 25,
"line": 128
},
"start": {
"character": 8,
"line": 128
}
},
"selectionRange": {
"end": {
"character": 25,
"line": 128
},
"start": {
"character": 17,
"line": 128
}
}
}
],
"detail": "class",
"kind": 5,
"name": "BufferLayout",
"range": {
"end": {
"character": 5,
"line": 129
},
"start": {
"character": 4,
"line": 96
}
},
"selectionRange": {
"end": {
"character": 22,
"line": 96
},
"start": {
"character": 10,
"line": 96
}
}
},
{
"children": [
{
"kind": 9,
"name": "~VertexBuffer",
"range": {
"end": {
"character": 41,
"line": 133
},
"start": {
"character": 8,
"line": 133
}
},
"selectionRange": {
"end": {
"character": 17,
"line": 133
},
"start": {
"character": 16,
"line": 133
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "Bind",
"range": {
"end": {
"character": 37,
"line": 135
},
"start": {
"character": 8,
"line": 135
}
},
"selectionRange": {
"end": {
"character": 25,
"line": 135
},
"start": {
"character": 21,
"line": 135
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "UnBind",
"range": {
"end": {
"character": 39,
"line": 137
},
"start": {
"character": 8,
"line": 137
}
},
"selectionRange": {
"end": {
"character": 27,
"line": 137
},
"start": {
"character": 21,
"line": 137
}
}
},
{
"detail": "void (const void *, int)",
"kind": 6,
"name": "SetData",
"range": {
"end": {
"character": 65,
"line": 139
},
"start": {
"character": 8,
"line": 139
}
},
"selectionRange": {
"end": {
"character": 28,
"line": 139
},
"start": {
"character": 21,
"line": 139
}
}
},
{
"detail": "const BufferLayout &() const",
"kind": 6,
"name": "GetLayout",
"range": {
"end": {
"character": 57,
"line": 141
},
"start": {
"character": 8,
"line": 141
}
},
"selectionRange": {
"end": {
"character": 45,
"line": 141
},
"start": {
"character": 36,
"line": 141
}
}
},
{
"detail": "void (const BufferLayout &)",
"kind": 6,
"name": "SetLayout",
"range": {
"end": {
"character": 62,
"line": 142
},
"start": {
"character": 8,
"line": 142
}
},
"selectionRange": {
"end": {
"character": 30,
"line": 142
},
"start": {
"character": 21,
"line": 142
}
}
},
{
"detail": "int (int)",
"kind": 6,
"name": "Create",
"range": {
"end": {
"character": 54,
"line": 144
},
"start": {
"character": 8,
"line": 144
}
},
"selectionRange": {
"end": {
"character": 39,
"line": 144
},
"start": {
"character": 33,
"line": 144
}
}
},
{
"detail": "int (float *, int)",
"kind": 6,
"name": "Create",
"range": {
"end": {
"character": 71,
"line": 145
},
"start": {
"character": 8,
"line": 145
}
},
"selectionRange": {
"end": {
"character": 39,
"line": 145
},
"start": {
"character": 33,
"line": 145
}
}
}
],
"detail": "class",
"kind": 5,
"name": "VertexBuffer",
"range": {
"end": {
"character": 5,
"line": 146
},
"start": {
"character": 4,
"line": 131
}
},
"selectionRange": {
"end": {
"character": 22,
"line": 131
},
"start": {
"character": 10,
"line": 131
}
}
},
{
"children": [
{
"kind": 9,
"name": "~IndexBuffer",
"range": {
"end": {
"character": 40,
"line": 150
},
"start": {
"character": 8,
"line": 150
}
},
"selectionRange": {
"end": {
"character": 17,
"line": 150
},
"start": {
"character": 16,
"line": 150
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "Bind",
"range": {
"end": {
"character": 37,
"line": 152
},
"start": {
"character": 8,
"line": 152
}
},
"selectionRange": {
"end": {
"character": 25,
"line": 152
},
"start": {
"character": 21,
"line": 152
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "UnBind",
"range": {
"end": {
"character": 39,
"line": 154
},
"start": {
"character": 8,
"line": 154
}
},
"selectionRange": {
"end": {
"character": 27,
"line": 154
},
"start": {
"character": 21,
"line": 154
}
}
},
{
"detail": "int () const",
"kind": 6,
"name": "GetCount",
"range": {
"end": {
"character": 45,
"line": 156
},
"start": {
"character": 8,
"line": 156
}
},
"selectionRange": {
"end": {
"character": 33,
"line": 156
},
"start": {
"character": 25,
"line": 156
}
}
},
{
"detail": "int (int *, int)",
"kind": 6,
"name": "Create",
"range": {
"end": {
"character": 73,
"line": 158
},
"start": {
"character": 8,
"line": 158
}
},
"selectionRange": {
"end": {
"character": 38,
"line": 158
},
"start": {
"character": 32,
"line": 158
}
}
}
],
"detail": "class",
"kind": 5,
"name": "IndexBuffer",
"range": {
"end": {
"character": 5,
"line": 159
},
"start": {
"character": 4,
"line": 148
}
},
"selectionRange": {
"end": {
"character": 21,
"line": 148
},
"start": {
"character": 10,
"line": 148
}
}
},
{
"children": [
{
"kind": 9,
"name": "~UniformBuffer",
"range": {
"end": {
"character": 42,
"line": 163
},
"start": {
"character": 8,
"line": 163
}
},
"selectionRange": {
"end": {
"character": 17,
"line": 163
},
"start": {
"character": 16,
"line": 163
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "Bind",
"range": {
"end": {
"character": 37,
"line": 165
},
"start": {
"character": 8,
"line": 165
}
},
"selectionRange": {
"end": {
"character": 25,
"line": 165
},
"start": {
"character": 21,
"line": 165
}
}
},
{
"detail": "void () const",
"kind": 6,
"name": "Unbind",
"range": {
"end": {
"character": 39,
"line": 166
},
"start": {
"character": 8,
"line": 166
}
},
"selectionRange": {
"end": {
"character": 27,
"line": 166
},
"start": {
"character": 21,
"line": 166
}
}
},
{
"detail": "void (void *, int, int)",
"kind": 6,
"name": "SetData",
"range": {
"end": {
"character": 76,
"line": 167
},
"start": {
"character": 8,
"line": 167
}
},
"selectionRange": {
"end": {
"character": 28,
"line": 167
},
"start": {
"character": 21,
"line": 167
}
}
},
{
"detail": "void (const BufferLayout &, int, int)",
"kind": 6,
"name": "SetLayout",
"range": {
"end": {
"character": 103,
"line": 168
},
"start": {
"character": 8,
"line": 168
}
},
"selectionRange": {
"end": {
"character": 30,
"line": 168
},
"start": {
"character": 21,
"line": 168
}
}
},
{
"detail": "int ()",
"kind": 6,
"name": "Create",
"range": {
"end": {
"character": 42,
"line": 170
},
"start": {
"character": 8,
"line": 170
}
},
"selectionRange": {
"end": {
"character": 40,
"line": 170
},
"start": {
"character": 34,
"line": 170
}
}
}
],
"detail": "class",
"kind": 5,
"name": "UniformBuffer",
"range": {
"end": {
"character": 5,
"line": 171
},
"start": {
"character": 4,
"line": 161
}
},
"selectionRange": {
"end": {
"character": 23,
"line": 161
},
"start": {
"character": 10,
"line": 161
}
}
}
],
"kind": 3,
"name": "Aph",
"range": {
"end": {
"character": 1,
"line": 173
},
"start": {
"character": 0,
"line": 9
}
},
"selectionRange": {
"end": {
"character": 13,
"line": 9
},
"start": {
"character": 10,
"line": 9
}
}
}
]
[Trace - 09:43:33 AM] Received response 'textDocument/codeAction - (7)' in 82ms.
Result: []
[Trace - 09:43:33 AM] Received response 'textDocument/documentLink - (8)' in 82ms.
Result: [
{
"range": {
"end": {
"character": 18,
"line": 0
},
"start": {
"character": 9,
"line": 0
}
},
"target": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/utility"
}
]
[Trace - 09:43:33 AM] Received response 'textDocument/documentHighlight - (9)' in 82ms.
Result: []
[Trace - 09:43:33 AM] Received notification '$/progress'.
Params: {
"token": "backgroundIndexProgress",
"value": {
"kind": "end"
}
}
[Trace - 09:43:35 AM] Sending request 'textDocument/codeAction - (10)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"range": {
"start": {
"line": 1,
"character": 0
},
"end": {
"line": 1,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:43:35 AM] Sending request 'textDocument/documentLink - (11)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
}
}
[Trace - 09:43:35 AM] Received response 'textDocument/codeAction - (10)' in 6ms.
Result: []
[Trace - 09:43:35 AM] Received response 'textDocument/documentLink - (11)' in 6ms.
Result: [
{
"range": {
"end": {
"character": 18,
"line": 0
},
"start": {
"character": 9,
"line": 0
}
},
"target": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/utility"
}
]
[Trace - 09:43:35 AM] Sending request 'textDocument/hover - (12)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"position": {
"line": 2,
"character": 1
}
}
[Trace - 09:43:35 AM] Sending request 'textDocument/codeAction - (13)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"range": {
"start": {
"line": 2,
"character": 1
},
"end": {
"line": 2,
"character": 1
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:43:35 AM] Sending request 'textDocument/documentLink - (14)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
}
}
[Trace - 09:43:35 AM] Sending request 'textDocument/documentHighlight - (15)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"position": {
"line": 2,
"character": 1
}
}
[Trace - 09:43:35 AM] Received response 'textDocument/hover - (12)' in 4ms.
Result: null
[Trace - 09:43:35 AM] Received response 'textDocument/codeAction - (13)' in 3ms.
Result: []
[Trace - 09:43:35 AM] Received response 'textDocument/documentLink - (14)' in 3ms.
Result: [
{
"range": {
"end": {
"character": 18,
"line": 0
},
"start": {
"character": 9,
"line": 0
}
},
"target": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/utility"
}
]
[Trace - 09:43:35 AM] Received response 'textDocument/documentHighlight - (15)' in 3ms.
Result: []
[Trace - 09:43:37 AM] Sending request 'textDocument/codeAction - (16)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
},
"range": {
"start": {
"line": 22,
"character": 14
},
"end": {
"line": 22,
"character": 14
}
},
"context": {
"diagnostics": []
}
}
[Trace - 09:43:37 AM] Sending request 'textDocument/documentLink - (17)'.
Params: {
"textDocument": {
"uri": "file:///home/npchitman/workspace/Aphrodite/Aphrodite-Runtime/src/Aphrodite/Renderer/Buffer.h"
}
}
[Trace - 09:43:37 AM] Received response 'textDocument/codeAction - (16)' in 8ms.
Result: []
[Trace - 09:43:37 AM] Received response 'textDocument/documentLink - (17)' in 8ms.
Result: [
{
"range": {
"end": {
"character": 18,
"line": 0
},
"start": {
"character": 9,
"line": 0
}
},
"target": "file:///usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g%2B%2B-v11/utility"
}
]
cd project root directory
cmake -S . -B build/debug -DCMAKE_EXPORT_COMPILE_COMMAND=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build build/debug
ln -s build/debug/compile_command.json .
(tried using `lsp-start-plain`, lsp got same error output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment