[clang-tools-extra] Fix a link in ReleaseNotes.rst
[llvm-project.git] / clang-tools-extra / clangd / test / filestatus.test
blobc485939b5c57094b731ee45fcbf55b076dd6c02f
1 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"initializationOptions":{"clangdFileStatus": true},"trace":"off"}}
3 ---
4 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///main.cpp","languageId":"cpp","version":1,"text":"int x; int y = x;"}}}
5 #      CHECK:  "method": "textDocument/clangd.fileStatus",
6 # CHECK-NEXT:  "params": {
7 # CHECK-NEXT:    "state": "parsing includes",
8 # CHECK-NEXT:    "uri": "{{.*}}/main.cpp"
9 # CHECK-NEXT:  }
10 ---
11 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
12 ---
13 {"jsonrpc":"2.0","method":"exit"}