Skip to content

Add new check, qt-keyword-emit

Ahmad Samir requested to merge work/ahmad/work/qt-emit into master

Basically copy the code from the qt-keywords check, with some slight changes, and change it to only check for the 'emit' keyword.

Given that C++20 will have a method called emit(), code shouldn't be using the 'emit' keyword now. qt-keywords would make extra changes which could be seen as "churn", so to speed things up, split emit to its own check.

Merge request reports

Loading