• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-clang-tidy

Linter for clang-tidy on atom
  • #linter
  • #clang
  • #clang-tidy
  • #cpp
  • #c++
Azkellas
0.2.0 2,658
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

linter-clang-tidy

Linter package for clang-tidy.

Installation

  • Install clang-tidy ($ sudo apt install clang-tidy for example)
  • $ apm install linter-clang-tidy

Package configuration

  • Executable: Path to your clang-tidy executable.
  • Options: Flags to append to the command line. Leave it empty if you have your config file (recommended). Otherwise, you can try -checks=* to use it at its full power.
  • Timeout: Time before the process is stopped.

How to configure clang-tidy

  • Test all checks on existing code, with -checks=*
  • Create a config file with -dump-config. It creates a file ".clang-tidy" that saves your configuration in the current directory. clang-tidy attempts to read configuration for each source file from a .clang-tidy file located in the closest parent directory of the source file.
  • See the checks enabled with -list-checks and edit your config file to disable those you don't need. The less you have, the faster clang-tidy.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by