aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mini-ast-dumper: Encode spellingLocation tooupstream/mini-ast-dumperSergio Martins2019-06-121-8/+21
|
* Remove duplicated classesSergio Martins2019-06-111-9/+14
| | | | By using a dict instead
* WIPSergio Martins2019-06-114-15/+149
|
* Add FunctionUtils::getFunctionDeclaration()Sergio Martins2019-06-111-0/+20
|
* Handle templates and built-in functions tooSergio Martins2019-06-103-13/+105
|
* Add some sanity checksSergio Martins2019-06-102-23/+94
|
* WIP: Start processing the ASTSergio Martins2019-06-102-35/+99
|
* WIPSergio Martins2019-06-103-12/+121
|
* Fix cbor errorsSergio Martins2019-06-091-5/+6
|
* WIPSergio Martins2019-06-092-15/+64
|
* WIPSergio Martins2019-06-072-26/+76
|
* WIPSergio Martins2019-06-072-11/+41
|
* WIPSergio Martins2019-06-062-9/+66
|
* Add 3rdparty/tinycborSérgio Martins2019-06-0610-1/+1647
| | | | So we can use a binary format instead of JSON.
* Add a mini AST dumperSérgio Martins2019-06-043-1/+146
| | | | Just to dump records and translation units-for now.
* Add missing overrideSergio Martins2019-06-041-1/+1
|
* signal-with-return-value: warn for by-ref signal argumentsSergio Martins2019-06-032-4/+13
| | | | For the same reason as return values
* Introduce signal-with-return-valueSérgio Martins2019-06-0312-0/+142
| | | | It's a design smell to have signals returning values
* unneeded-cast: Improve warning message for unneeded qobject_castSergio Martins2019-05-273-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 trunkSergio Martins2019-05-192-2/+13
| | | | CCBUG: 407623
* copyable-polymorphic: Explain better what's the problem in the READMESergio Martins2019-05-131-3/+23
| | | | And talk less about slicing, as that also happens in non-polymorphic classes.
* Remove mention of CLAZY_FIXIT from the READMEsSergio Martins2019-05-135-13/+6
| | | | The manpage is left, but that has many other things to be rewritten.
* Remove unused ClazyFixItOptionsSergio Martins2019-05-131-25/+0
|
* Minor class documentation improvementChristian Gagneraud2019-05-131-3/+2
|
* clang plugin: remove reference to CLAZY_FIXIT from help messageChristian Gagneraud2019-05-131-3/+0
| | | | Differential Revision: https://phabricator.kde.org/D21178
* tests: Remove last mention of CLAZY_FIXITSergio Martins2019-05-121-3/+0
|
* tests: Remove mention of CLAZY_FIXITSSergio Martins2019-05-121-7/+0
|
* Use clazy namespace instead of TypeUtilsSergio Martins2019-05-1230-75/+75
|
* Introduce heap-allocated-small-trivial-typeSergio Martins2019-05-1212-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 Martins2019-05-122-0/+44
|
* TypeUtils: Make it optional to pass the VarDeclSergio Martins2019-05-116-18/+17
| | | | So we can test generic QualTypes too
* generate.py: Fix editing of ChangelogSergio Martins2019-05-111-1/+2
| | | | | It was adding an entry for every existing check, not only for the new ones
* Polish the howto a bitSergio Martins2019-05-111-15/+10
|
* tests: Allow to run run_tests.py from any directorySergio Martins2019-05-111-0/+4
|
* qt-macros: Fix unit-testsSergio Martins2019-05-091-2/+2
|
* qvariant-template-instantiation: Move out of level 0, since it has ↵Sergio Martins2019-05-098-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 QVariantListSergio Martins2019-05-093-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.4Sergio Martins2019-05-081-2/+6
|
* range-loop: unit-tests++Sergio Martins2019-05-083-1/+8
|
* range-loop: Add unit-testSergio Martins2019-05-082-2/+16
|
* range-loop: Specify in the README that we have a fixit for adding qAsConstSergio Martins2019-05-081-3/+1
| | | | BUG: 407323
* Minor readability improvementSergio Martins2019-05-081-1/+1
|
* minor: Fix numeration of the ClazyOptions flagsSergio Martins2019-05-071-6/+5
|
* README++Sergio Martins2019-05-051-0/+3
|
* tests: fix yaml files not being removedSergio Martins2019-05-051-4/+9
|
* Add a CLAZY_EXPORT_FIXES env variableSergio Martins2019-05-052-1/+2
| | | | | Useful for the plugin, to not to have to change Qt mkspecs to pass compiler flags
* Update README and ChangelogSergio Martins2019-05-052-10/+11
|
* Make the clazy plugin also export fixes, not only clazy-standaloneSergio Martins2019-05-0522-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 headersSergio Martins2019-05-051-0/+17
|
* tests: Fix XFAIL tests not passingSergio Martins2019-05-051-4/+4
|