Guest User

Untitled

a guest
Dec 26th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.14 KB | None | 0 0
  1. I\[21:20:00.879\] Homebrew clangd version 15.0.6
  2. I\[21:20:00.883\] Features: mac+xpc
  3. I\[21:20:00.883\] PID: 2900
  4. I\[21:20:00.884\] Working directory: /Users/season/Projects/cplusplus/Projects/acm_cmake
  5. I\[21:20:00.884\] argv\[0\]: /usr/local/opt/llvm/bin/clangd
  6. I\[21:20:00.884\] argv\[1\]: -log=verbose
  7. I\[21:20:00.884\] argv\[2\]: --query-driver=/usr/local/Cellar/gcc/12.2.0/bin/x86_64-apple-darwin22-g++-12,/usr/local/Cellar/gcc/12.2.0/bin/g++-12
  8. I\[21:20:00.884\] argv\[3\]: --compile-commands-dir=/Users/season/Projects/cplusplus/Projects/acm_cmake/cmake-build-debug/compile_commands.json
  9. V\[21:20:00.884\] User config file is /Users/season/Library/Preferences/clangd/config.yaml
  10. I\[21:20:00.884\] Starting LSP over stdin/stdout
  11. V\[21:20:00.884\] \<\<\< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"markdown":{"parser":"marked","version":"1.1.0"},"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"staleRequestSupport":{"cancel":true,"retryOnContentModified":\["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"\]}},"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":\["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"\]}},"dataSupport":true,"disabledSupport":true,"dynamicRegistration":true,"honorsChangeAnnotations":false,"isPreferredSupport":true,"resolveSupport":{"properties":\["edit"\]}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":\["markdown","plaintext"\],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":\[1,2\]},"labelDetailsSupport":true,"preselectSupport":true,"resolveSupport":{"properties":\["documentation","detail","additionalTextEdits"\]},"snippetSupport":true,"tagSupport":{"valueSet":\[1\]}},"completionItemKind":{"valueSet":\[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25\]},"contextSupport":true,"dynamicRegistration":true,"editsNearCursor":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"labelSupport":true,"symbolKind":{"valueSet":\[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26\]},"tagSupport":{"valueSet":\[1\]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":\["markdown","plaintext"\],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"linkedEditingRange":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"codeDescriptionSupport":true,"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":\[1,2\]},"versionSupport":false},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"honorsChangeAnnotations":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1},"selectionRange":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"formats":\["relative"\],"multilineTokenSupport":false,"overlappingTokenSupport":false,"requests":{"full":{"delta":true},"range":true},"tokenModifiers":\["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"\],"tokenTypes":\["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"\]},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":\["markdown","plaintext"\],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true},"fileOperations":{"didCreate":true,"didDelete":true,"didRename":true,"dynamicRegistration":true,"willCreate":true,"willDelete":true,"willRename":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":\[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26\]},"tagSupport":{"valueSet":\[1\]}},"workspaceEdit":{"changeAnnotationSupport":{"groupsOnLabel":true},"documentChanges":true,"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"resourceOperations":\["create","rename","delete"\]},"workspaceFolders":true}},"clientInfo":{"name":"Visual Studio Code - Insiders","version":"1.64.0-insider"},"initializationOptions":{"clangdFileStatus":true,"fallbackFlags":\[\]},"locale":"zh-cn","processId":2883,"rootPath":"/Users/season/Projects/cplusplus/Projects/acm_cmake","rootUri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake","trace":"off","workspaceFolders":\[{"name":"acm_cmake","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake"}\]}}
  12.  
  13. I\[21:20:00.884\] \<-- initialize(0)
  14. V\[21:20:00.885\] Invoking /usr/bin/xcrun to find clang installation
  15. V\[21:20:00.895\] Invoking /usr/bin/xcrun to find clang installation
  16. I\[21:20:00.908\] --\> reply:initialize(0) 24 ms
  17. V\[21:20:00.908\] \>\>\> {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":\["quickfix","refactor","info"\]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":\[".","\<","\>",":",""","/","\*"\]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\\n","moreTriggerCharacter":\[\]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":\["clangd.applyFix","clangd.applyTweak"\]},"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":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":\["(",")","{","}","\<","\>",","\]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"Homebrew clangd version 15.0.6 mac+xpc x86_64-apple-darwin22.1.0"}}}
  18.  
  19. V\[21:20:00.976\] \<\<\< {"jsonrpc":"2.0","method":"initialized","params":{}}
  20.  
  21. I\[21:20:00.976\] \<-- initialized
  22. V\[21:20:00.976\] \<\<\< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include \\n#include \<bits/stdc++.h\>\\n\\n\\nusing namespace std;\\n\\nint main(void){\\n printf("helloworld");\\n\\n return 0;\\n}","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp","version":1}}}
  23.  
  24. I\[21:20:00.976\] \<-- textDocument/didOpen
  25. V\[21:20:00.977\] \<\<\< {"id":1,"jsonrpc":"2.0","method":"clangd/inlayHints","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  26.  
  27. I\[21:20:00.978\] \<-- clangd/inlayHints(1)
  28. I\[21:20:00.979\] Failed to find compilation database for /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  29. I\[21:20:00.979\] ASTWorker building file /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp version 1 with command clangd fallback
  30. \[/Users/season/Projects/cplusplus/Projects/acm_cmake\]
  31. /Library/Developer/CommandLineTools/usr/bin/clang -resource-dir=/usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -- /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  32. V\[21:20:00.981\] Driver produced command: cc1 -cc1 -triple x86_64-apple-macosx13.0.0 -Wundef-prefix=TARGET_OS\_ -Werror=undef-prefix -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name main.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -ffp-contract=on -fno-rounding-math -funwind-tables=2 -target-sdk-version=13.0 -fcompatibility-qualified-id-block-type-checking -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=lldb -target-linker-version 820.1 -fcoverage-compilation-dir=/Users/season/Projects/cplusplus/Projects/acm_cmake -resource-dir /usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -stdlib=libc++ -internal-isystem /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include -internal-isystem /usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -fdeprecated-macro -fdebug-compilation-dir=/Users/season/Projects/cplusplus/Projects/acm_cmake -ferror-limit 19 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fmax-type-align=16 -no-round-trip-args -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  33. I\[21:20:00.981\] --\> textDocument/clangd.fileStatus
  34. V\[21:20:00.981\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Update","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  35.  
  36. V\[21:20:00.981\] Building first preamble for /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp version 1
  37. V\[21:20:01.003\] \<\<\< {"id":2,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  38.  
  39. I\[21:20:01.003\] \<-- textDocument/documentSymbol(2)
  40. V\[21:20:01.003\] \<\<\< {"id":3,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  41.  
  42. I\[21:20:01.003\] \<-- textDocument/documentLink(3)
  43. V\[21:20:01.062\] \<\<\< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":3}}
  44.  
  45. I\[21:20:01.063\] \<-- $/cancelRequest
  46. V\[21:20:01.063\] \<\<\< {"id":4,"jsonrpc":"2.0","method":"textDocument/documentLink","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  47.  
  48. I\[21:20:01.063\] \<-- textDocument/documentLink(4)
  49. V\[21:20:01.063\] \<\<\< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":2}}
  50.  
  51. I\[21:20:01.063\] \<-- $/cancelRequest
  52. V\[21:20:01.063\] \<\<\< {"id":5,"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  53.  
  54. I\[21:20:01.063\] \<-- textDocument/documentSymbol(5)
  55. V\[21:20:01.324\] \<\<\< {"id":6,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  56.  
  57. I\[21:20:01.324\] \<-- textDocument/semanticTokens/full(6)
  58. V\[21:20:01.495\] \<\<\< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":1}}
  59.  
  60. I\[21:20:01.495\] \<-- $/cancelRequest
  61. V\[21:20:01.495\] \<\<\< {"id":7,"jsonrpc":"2.0","method":"clangd/inlayHints","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  62.  
  63. I\[21:20:01.496\] \<-- clangd/inlayHints(7)
  64. V\[21:20:01.527\] \<\<\< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":7}}
  65.  
  66. I\[21:20:01.527\] \<-- $/cancelRequest
  67. V\[21:20:01.527\] \<\<\< {"id":8,"jsonrpc":"2.0","method":"clangd/inlayHints","params":{"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  68.  
  69. I\[21:20:01.527\] \<-- clangd/inlayHints(8)
  70. V\[21:20:02.179\] indexed preamble AST for /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp version 1:
  71. symbol slab: 7532 symbols, 1997400 bytes
  72. ref slab: 0 symbols, 0 refs, 128 bytes
  73. relations slab: 441 relations, 8728 bytes
  74. V\[21:20:02.384\] Build dynamic index for header symbols with estimated memory usage of 6014624 bytes
  75. V\[21:20:02.413\] Built preamble of size 6017336 for file /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp version 1 in 1.43 seconds
  76. I\[21:20:02.413\] --\> workspace/semanticTokens/refresh(0)
  77. I\[21:20:02.414\] --\> textDocument/clangd.fileStatus
  78. V\[21:20:02.414\] \>\>\> {"id":0,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}
  79.  
  80. V\[21:20:02.414\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, running Build AST","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  81.  
  82. I\[21:20:02.414\] --\> textDocument/clangd.fileStatus
  83. V\[21:20:02.414\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"parsing includes, parsing main file","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  84.  
  85. V\[21:20:02.416\] \<\<\< {"id":0,"jsonrpc":"2.0","result":null}
  86.  
  87. I\[21:20:02.416\] \<-- reply(0)
  88. V\[21:20:02.428\] indexed file AST for /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp version 1:
  89. symbol slab: 1 symbols, 4448 bytes
  90. ref slab: 2 symbols, 2 refs, 4272 bytes
  91. relations slab: 0 relations, 24 bytes
  92. V\[21:20:02.428\] Build dynamic index for main-file symbols with estimated memory usage of 11576 bytes
  93. I\[21:20:02.428\] --\> textDocument/publishDiagnostics
  94. V\[21:20:02.428\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":\[{"code":"pp_file_not_found","message":"'bits/stdc++.h' file not found","range":{"end":{"character":24,"line":1},"start":{"character":9,"line":1}},"relatedInformation":\[\],"severity":1,"source":"clang"}\],"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp","version":1}}
  95.  
  96. I\[21:20:02.428\] --\> reply:clangd/inlayHints(1) 1450 ms, error: Task was cancelled.
  97. V\[21:20:02.428\] \>\>\> {"error":{"code":-32800,"message":"Request cancelled"},"id":1,"jsonrpc":"2.0"}
  98.  
  99. I\[21:20:02.428\] --\> reply:textDocument/documentSymbol(2) 1424 ms, error: Task was cancelled.
  100. V\[21:20:02.428\] \>\>\> {"error":{"code":-32800,"message":"Request cancelled"},"id":2,"jsonrpc":"2.0"}
  101.  
  102. I\[21:20:02.428\] --\> reply:textDocument/documentLink(3) 1424 ms, error: Task was cancelled.
  103. V\[21:20:02.428\] \>\>\> {"error":{"code":-32800,"message":"Request cancelled"},"id":3,"jsonrpc":"2.0"}
  104.  
  105. V\[21:20:02.428\] ASTWorker running DocumentLinks on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  106. I\[21:20:02.428\] --\> reply:textDocument/documentLink(4) 1365 ms
  107. V\[21:20:02.428\] \>\>\> {"id":4,"jsonrpc":"2.0","result":\[{"range":{"end":{"character":19,"line":0},"start":{"character":9,"line":0}},"target":"file:///Library/Developer/CommandLineTools/usr/include/c%2B%2B/v1/iostream"}\]}
  108.  
  109. V\[21:20:02.428\] ASTWorker running DocumentSymbols on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  110. I\[21:20:02.428\] --\> reply:textDocument/documentSymbol(5) 1365 ms
  111. V\[21:20:02.428\] \>\>\> {"id":5,"jsonrpc":"2.0","result":\[{"kind":13,"name":"using namespace std","range":{"end":{"character":19,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":19,"line":4},"start":{"character":16,"line":4}}},{"detail":"int ()","kind":12,"name":"main","range":{"end":{"character":1,"line":10},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":8,"line":6},"start":{"character":4,"line":6}}}\]}
  112.  
  113. V\[21:20:02.428\] ASTWorker running SemanticHighlights on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  114. I\[21:20:02.428\] --\> reply:textDocument/semanticTokens/full(6) 1103 ms
  115. V\[21:20:02.428\] \>\>\> {"id":6,"jsonrpc":"2.0","result":{"data":\[4,16,3,15,8448,2,4,4,3,8193,1,4,6,3,8448\],"resultId":"1"}}
  116.  
  117. I\[21:20:02.428\] --\> reply:clangd/inlayHints(7) 932 ms, error: Task was cancelled.
  118. V\[21:20:02.428\] \>\>\> {"error":{"code":-32800,"message":"Request cancelled"},"id":7,"jsonrpc":"2.0"}
  119.  
  120. V\[21:20:02.428\] ASTWorker running InlayHints on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  121. I\[21:20:02.428\] --\> reply:clangd/inlayHints(8) 901 ms
  122. V\[21:20:02.428\] \>\>\> {"id":8,"jsonrpc":"2.0","result":\[\]}
  123.  
  124. I\[21:20:02.428\] --\> textDocument/clangd.fileStatus
  125. V\[21:20:02.428\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  126.  
  127. \[Error - 9:20:02 PM\] Request textDocument/documentSymbol failed.
  128. \[object Object\]
  129. \[Error - 9:20:02 PM\] Request textDocument/documentLink failed.
  130. \[object Object\]
  131. V\[21:20:21.968\] \<\<\< {"id":9,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":11,"line":0},"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  132.  
  133. I\[21:20:21.968\] \<-- textDocument/hover(9)
  134. V\[21:20:21.971\] ASTWorker running Hover on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  135. I\[21:20:21.972\] --\> reply:textDocument/hover(9) 3 ms
  136. V\[21:20:21.972\] \>\>\> {"id":9,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### iostream \\n\\n---\\n\\n/Library/Developer/CommandLineTools/usr/include/c++/v1/iostream\\n"}}}
  137.  
  138. I\[21:20:21.972\] --\> textDocument/clangd.fileStatus
  139. V\[21:20:21.972\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  140.  
  141. V\[21:20:22.662\] \<\<\< {"id":10,"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":12,"line":0},"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  142.  
  143. I\[21:20:22.662\] \<-- textDocument/definition(10)
  144. V\[21:20:22.663\] ASTWorker running Definitions on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  145. I\[21:20:22.663\] --\> reply:textDocument/definition(10) 0 ms
  146. V\[21:20:22.663\] \>\>\> {"id":10,"jsonrpc":"2.0","result":\[{"range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"uri":"file:///Library/Developer/CommandLineTools/usr/include/c%2B%2B/v1/iostream"}\]}
  147.  
  148. I\[21:20:22.663\] --\> textDocument/clangd.fileStatus
  149. V\[21:20:22.663\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
  150.  
  151. V\[21:20:22.683\] \<\<\< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"// -- C++ --\\n//===--------------------------- iostream ---------------------------------===//\\n//\\n// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\\n// See https://llvm.org/LICENSE.txt for license information.\\n// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\\n//\\n//===----------------------------------------------------------------------===//\\n\\n#ifndef \_LIBCPP_IOSTREAM\\n#define \_LIBCPP_IOSTREAM\\n\\n/\\n iostream synopsis\\n\\n#include \\n#include \\n#include \\n#include \\n\\nnamespace std {\\n\\nextern istream cin;\\nextern ostream cout;\\nextern ostream cerr;\\nextern ostream clog;\\nextern wistream wcin;\\nextern wostream wcout;\\nextern wostream wcerr;\\nextern wostream wclog;\\n\\n} // std\\n\\n/\\n\\n#include \<\__config\>\\n#include \\n#include \\n#include \\n#include \\n\\n#if !defined(\_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)\\n#pragma GCC system_header\\n#endif\\n\\n_LIBCPP_BEGIN_NAMESPACE_STD\\n\\nextern \_LIBCPP_FUNC_VIS istream cin;\\nextern \_LIBCPP_FUNC_VIS ostream cout;\\nextern \_LIBCPP_FUNC_VIS ostream cerr;\\nextern \_LIBCPP_FUNC_VIS ostream clog;\\n\\n#ifndef \_LIBCPP_HAS_NO_WIDE_CHARACTERS\\nextern \_LIBCPP_FUNC_VIS wistream wcin;\\nextern \_LIBCPP_FUNC_VIS wostream wcout;\\nextern \_LIBCPP_FUNC_VIS wostream wcerr;\\nextern \_LIBCPP_FUNC_VIS wostream wclog;\\n#endif\\n\\n_LIBCPP_END_NAMESPACE_STD\\n\\n#endif // \_LIBCPP_IOSTREAM\\n","uri":"file:///Library/Developer/CommandLineTools/usr/include/c%2B%2B/v1/iostream","version":1}}}
  152.  
  153. I\[21:20:22.683\] \<-- textDocument/didOpen
  154. V\[21:20:22.683\] \<\<\< {"jsonrpc":"2.0","method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///Library/Developer/CommandLineTools/usr/include/c%2B%2B/v1/iostream"}}}
  155.  
  156. I\[21:20:22.683\] \<-- textDocument/didClose
  157. I\[21:20:22.683\] --\> textDocument/publishDiagnostics
  158. V\[21:20:22.683\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":\[\],"uri":"file:///Library/Developer/CommandLineTools/usr/include/c%2B%2B/v1/iostream"}}
  159.  
  160. I\[21:20:22.684\] Failed to find compilation database for /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream
  161. I\[21:20:22.684\] ASTWorker building file /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream version 1 with command clangd fallback
  162. \[/Library/Developer/CommandLineTools/usr/include/c++/v1\]
  163. /Library/Developer/CommandLineTools/usr/bin/clang -xobjective-c++-header -resource-dir=/usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -- /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream
  164. V\[21:20:22.685\] Driver produced command: cc1 -cc1 -triple x86_64-apple-macosx13.0.0 -Wundef-prefix=TARGET_OS\_ -Werror=undef-prefix -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name iostream -mrelocation-model pic -pic-level 2 -mframe-pointer=all -ffp-contract=on -fno-rounding-math -funwind-tables=2 -target-sdk-version=13.0 -fcompatibility-qualified-id-block-type-checking -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -tune-cpu generic -debugger-tuning=lldb -target-linker-version 820.1 -fcoverage-compilation-dir=/Library/Developer/CommandLineTools/usr/include/c++/v1 -resource-dir /usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -stdlib=libc++ -internal-isystem /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include -internal-isystem /usr/local/Cellar/llvm/15.0.6/lib/clang/15.0.6/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -fdeprecated-macro -fdebug-compilation-dir=/Library/Developer/CommandLineTools/usr/include/c++/v1 -ferror-limit 19 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fobjc-runtime=macosx-13.0.0 -fobjc-exceptions -fcxx-exceptions -fexceptions -fmax-type-align=16 -no-round-trip-args -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x objective-c++-header /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream
  165. V\[21:20:22.838\] \<\<\< {"id":11,"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":11,"line":0},"textDocument":{"uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}}
  166.  
  167. I\[21:20:22.839\] \<-- textDocument/hover(11)
  168. V\[21:20:22.839\] ASTWorker running Hover on version 1 of /Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp
  169. I\[21:20:22.839\] --\> reply:textDocument/hover(11) 0 ms
  170. V\[21:20:22.840\] \>\>\> {"id":11,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### iostream \\n\\n---\\n\\n/Library/Developer/CommandLineTools/usr/include/c++/v1/iostream\\n"}}}
  171.  
  172. I\[21:20:22.840\] --\> textDocument/clangd.fileStatus
  173. V\[21:20:22.840\] \>\>\> {"jsonrpc":"2.0","method":"textDocument/clangd.fileStatus","params":{"state":"idle","uri":"file:///Users/season/Projects/cplusplus/Projects/acm_cmake/main.cpp"}}
Advertisement
Add Comment
Please, Sign In to add comment