ccls/index_tests
Fangrui Song 2b6d3753f7 index_tests: Test 22.0.0git
Build llvm-project
```
ninja -C out/stable clang clangFormat clangIndex clangTooling
```

Then build ccls against the just-built llvm-project.
```
cmake -S. -Bout/debug -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=$HOME/Stable/bin/clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_PREFIX_PATH="$HOME/llvm/out/stable;$HOME/llvm/out/stable/tools/clang" -DCLANG_EXECUTABLE=$HOME/Stable/bin/clang++
```

Finally, run `ccls -test-index`
2025-08-14 23:42:18 -07:00
..
constructors index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
declaration_vs_definition index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
enums index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
inheritance index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
lambdas index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
macros index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
multi_file index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
namespaces index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
objective-c index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
operators index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
outline index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
preprocessor index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
templates index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
types index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
unions index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
usage index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
vars index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
_empty_test.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
class_forward_declaration.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
foobar.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
function_declaration_definition.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
function_declaration.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
function_definition.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
method_declaration.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
method_definition.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00
method_inline_declaration.cc index_tests: Test 22.0.0git 2025-08-14 23:42:18 -07:00