Bug#814420: clang-tidy-3.8 missing JSON database
Erik de Castro Lopo
erikd at mega-nerd.com
Thu Feb 11 01:24:22 UTC 2016
Package: clang-tidy-3.8
Version: 1:3.8~+rc2-1~exp1
Severity: important
According to the upstream documentation at:
http://clang.llvm.org/extra/clang-tidy/
the command:
> clang-tidy-3.8 bool_switch.cc -checks=-*,clang-analyzer-*
should work. Instead I get:
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "bool_switch.cc"
No compilation database found in /home/erikd or any parent directory
json-compilation-database: Error while opening JSON database: No such file or directory
Running without flags.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages clang-tidy-3.8 depends on:
ii libc6 2.21-7
ii libgcc1 1:5.3.1-7
ii libllvm3.8 1:3.8~svn254193-1
ii libstdc++6 5.3.1-7
ii libtinfo5 6.0+20151024-2
ii python 2.7.11-1
ii zlib1g 1:1.2.8.dfsg-2+b1
clang-tidy-3.8 recommends no packages.
clang-tidy-3.8 suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list