clang-query: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/lib/llvm-3.5/bin/clang-query - from package: clang-3.5
/usr/bin/clang-query - from package: clang

You may install the required package with command apt-get install {package}
Error in other languages:
clang-query: bevel nie gevind nie
clang-query: comandă negăsită
clang-query: comando não encontrado
clang-query: commande introuvable
clang-query: command not found
clang-query: käsku ei ole
clang-query: không tìm thấy lệnh
clang-query: komanda nerasta
clang-query: Kommando nicht gefunden.
clang-query: kommandot finns inte
clang-query: komut yok
clang-query: nie znaleziono polecenia
clang-query: níor aimsíodh an t-ordú
clang-query: no se encontró la orden
clang-query: no s'ha trobat l'ordre
clang-query: opdracht niet gevonden
clang-query: parancs nem található
clang-query: perintah tidak ditemukan
clang-query: príkaz nenájdený
clang-query: příkaz nenalezen
clang-query: команда не найдена
clang-query: командата не е открита
clang-query: 命令找不到
clang-query: コマンドが見つかりません