wget -c http://releases.llvm.org/8.0.0/clang%2bllvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
wget -c http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
tar -xvf clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
git clone --depth=1 --recursive https://github.com/MaskRay/ccls
cd ccls
sudo cp -r * /usr/local
cd ccls
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7
cmake --build Release
https://github.com/MaskRay/ccls/wiki/Build
"ccls.launch.command": "/path/to/ccls/Release/ccls",
"ccls.cache.directory": "${workspaceFolder}/.ccls-cache/"
https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code