Skip to content

Chatterino/clang-tidy-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository builds a clang-tidy module with checks specialized for the Chatterino project.

I build and test this like this:

mkdir build
cd build
cmake ..
make -j20 && clang-tidy --load ./src/chatterino-clang-tidy-module.so --checks='*,chatterino-*' ../tests/*

Checks

chatterino-explicit-this

When enabled, this check will warn for any usage of member methods or variables that are not prefixed with this->.

This implements --fix, which adds this-> when required.

This currently avoids the shared_from_this name.

About

Chatterino-specific clang-tidy checks

Resources

License

Stars

Watchers

Forks

Contributors