Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mini-ast-dumper: Encode spellingLocation tooupstream/mini-ast-dumper | Sergio Martins | 2019-06-12 | 1 | -8/+21 |
| | |||||
* | Remove duplicated classes | Sergio Martins | 2019-06-11 | 1 | -9/+14 |
| | | | | By using a dict instead | ||||
* | WIP | Sergio Martins | 2019-06-11 | 4 | -15/+149 |
| | |||||
* | Add FunctionUtils::getFunctionDeclaration() | Sergio Martins | 2019-06-11 | 1 | -0/+20 |
| | |||||
* | Handle templates and built-in functions too | Sergio Martins | 2019-06-10 | 3 | -13/+105 |
| | |||||
* | Add some sanity checks | Sergio Martins | 2019-06-10 | 2 | -23/+94 |
| | |||||
* | WIP: Start processing the AST | Sergio Martins | 2019-06-10 | 2 | -35/+99 |
| | |||||
* | WIP | Sergio Martins | 2019-06-10 | 3 | -12/+121 |
| | |||||
* | Fix cbor errors | Sergio Martins | 2019-06-09 | 1 | -5/+6 |
| | |||||
* | WIP | Sergio Martins | 2019-06-09 | 2 | -15/+64 |
| | |||||
* | WIP | Sergio Martins | 2019-06-07 | 2 | -26/+76 |
| | |||||
* | WIP | Sergio Martins | 2019-06-07 | 2 | -11/+41 |
| | |||||
* | WIP | Sergio Martins | 2019-06-06 | 2 | -9/+66 |
| | |||||
* | Add 3rdparty/tinycbor | Sérgio Martins | 2019-06-06 | 10 | -1/+1647 |
| | | | | So we can use a binary format instead of JSON. | ||||
* | Add a mini AST dumper | Sérgio Martins | 2019-06-04 | 3 | -1/+146 |
| | | | | Just to dump records and translation units-for now. | ||||
* | Add missing override | Sergio Martins | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | signal-with-return-value: warn for by-ref signal arguments | Sergio Martins | 2019-06-03 | 2 | -4/+13 |
| | | | | For the same reason as return values | ||||
* | Introduce signal-with-return-value | Sérgio Martins | 2019-06-03 | 12 | -0/+142 |
| | | | | It's a design smell to have signals returning values | ||||
* | unneeded-cast: Improve warning message for unneeded qobject_cast | Sergio Martins | 2019-05-27 | 3 | -6/+16 |
| | | | | | | | | | Instead of saying that no cast to base is needed, simply say that no qobject_cast is needed. Since a static_cast might still be needed. This is the case for the ternary operator. BUG: 407981 | ||||
* | Fix build with llvm trunk | Sergio Martins | 2019-05-19 | 2 | -2/+13 |
| | | | | CCBUG: 407623 | ||||
* | copyable-polymorphic: Explain better what's the problem in the README | Sergio Martins | 2019-05-13 | 1 | -3/+23 |
| | | | | And talk less about slicing, as that also happens in non-polymorphic classes. | ||||
* | Remove mention of CLAZY_FIXIT from the READMEs | Sergio Martins | 2019-05-13 | 5 | -13/+6 |
| | | | | The manpage is left, but that has many other things to be rewritten. | ||||
* | Remove unused ClazyFixItOptions | Sergio Martins | 2019-05-13 | 1 | -25/+0 |
| | |||||
* | Minor class documentation improvement | Christian Gagneraud | 2019-05-13 | 1 | -3/+2 |
| | |||||
* | clang plugin: remove reference to CLAZY_FIXIT from help message | Christian Gagneraud | 2019-05-13 | 1 | -3/+0 |
| | | | | Differential Revision: https://phabricator.kde.org/D21178 | ||||
* | tests: Remove last mention of CLAZY_FIXIT | Sergio Martins | 2019-05-12 | 1 | -3/+0 |
| | |||||
* | tests: Remove mention of CLAZY_FIXITS | Sergio Martins | 2019-05-12 | 1 | -7/+0 |
| | |||||
* | Use clazy namespace instead of TypeUtils | Sergio Martins | 2019-05-12 | 30 | -75/+75 |
| | |||||
* | Introduce heap-allocated-small-trivial-type | Sergio Martins | 2019-05-12 | 12 | -0/+164 |
| | | | | | | | Catches heap-allocating small trivially copyable/destructible types. Such as: auto p = new QPoint(); Could contain false-positives, hence going to manual level. | ||||
* | Add TypeUtils::isSmallTrivial() | Sergio Martins | 2019-05-12 | 2 | -0/+44 |
| | |||||
* | TypeUtils: Make it optional to pass the VarDecl | Sergio Martins | 2019-05-11 | 6 | -18/+17 |
| | | | | So we can test generic QualTypes too | ||||
* | generate.py: Fix editing of Changelog | Sergio Martins | 2019-05-11 | 1 | -1/+2 |
| | | | | | It was adding an entry for every existing check, not only for the new ones | ||||
* | Polish the howto a bit | Sergio Martins | 2019-05-11 | 1 | -15/+10 |
| | |||||
* | tests: Allow to run run_tests.py from any directory | Sergio Martins | 2019-05-11 | 1 | -0/+4 |
| | |||||
* | qt-macros: Fix unit-tests | Sergio Martins | 2019-05-09 | 1 | -2/+2 |
| | |||||
* | qvariant-template-instantiation: Move out of level 0, since it has ↵ | Sergio Martins | 2019-05-09 | 8 | -8/+12 |
| | | | | | | | | | | | | | | | | false-positives This check has really been noise since its creation. The rate of false-positives don't justify the insignificant compilation performance gains. Moved to manual level now. Currently it has a bug, which doesn't seem possible to solve, as the instantiated template doesn't carry over the information about the qint32 typedef. And the CallExpr doesn't have any template related getters. Also removed this check from the "performance" category in checks.json, since this category is for runtime performance. CCBUG: 407321 | ||||
* | inefficient-qlist: Dont warn for QVariantList | Sergio Martins | 2019-05-09 | 3 | -3/+10 |
| | | | | | It's commonly used to interact with Qt API. This will be solved in Qt 6 anyway. | ||||
* | qt-keywords: Don't warn about Q_OS_WINDOWS if Qt < 5.12.4 | Sergio Martins | 2019-05-08 | 1 | -2/+6 |
| | |||||
* | range-loop: unit-tests++ | Sergio Martins | 2019-05-08 | 3 | -1/+8 |
| | |||||
* | range-loop: Add unit-test | Sergio Martins | 2019-05-08 | 2 | -2/+16 |
| | |||||
* | range-loop: Specify in the README that we have a fixit for adding qAsConst | Sergio Martins | 2019-05-08 | 1 | -3/+1 |
| | | | | BUG: 407323 | ||||
* | Minor readability improvement | Sergio Martins | 2019-05-08 | 1 | -1/+1 |
| | |||||
* | minor: Fix numeration of the ClazyOptions flags | Sergio Martins | 2019-05-07 | 1 | -6/+5 |
| | |||||
* | README++ | Sergio Martins | 2019-05-05 | 1 | -0/+3 |
| | |||||
* | tests: fix yaml files not being removed | Sergio Martins | 2019-05-05 | 1 | -4/+9 |
| | |||||
* | Add a CLAZY_EXPORT_FIXES env variable | Sergio Martins | 2019-05-05 | 2 | -1/+2 |
| | | | | | Useful for the plugin, to not to have to change Qt mkspecs to pass compiler flags | ||||
* | Update README and Changelog | Sergio Martins | 2019-05-05 | 2 | -10/+11 |
| | |||||
* | Make the clazy plugin also export fixes, not only clazy-standalone | Sergio Martins | 2019-05-05 | 22 | -163/+167 |
| | | | | | | | | | | Now fixits are always enabled (printed on screen, like clang and clang-tidy). What the user can change is if they are exported to yaml files or not. This makes the code much simpler and more similar to other tools. The env variables to choose fixits are gone, you instead choose checks, and pass --export-fixes= instead. (Or -Xclang -plugin-arg-clazy -Xclang export-fixes for the plugin) | ||||
* | tests: Also test fixits there were introduced in headers | Sergio Martins | 2019-05-05 | 1 | -0/+17 |
| | |||||
* | tests: Fix XFAIL tests not passing | Sergio Martins | 2019-05-05 | 1 | -4/+4 |
| |