Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add QtUtils::isQtContainer() overloading taking a CXXRecordDecl | Sergio Martins | 2018-01-14 | 1 | -2/+7 |
| | | | | Convert a std::string to StringRef, as a drive-by | ||||
* | StringRef++ | Sergio Martins | 2018-01-11 | 1 | -3/+3 |
| | |||||
* | Less using of std::string. Use StringRef instead | Sergio Martins | 2018-01-08 | 1 | -13/+13 |
| | |||||
* | Rename the *Utils:: namespace to clazy:: | Sergio Martins | 2017-12-18 | 1 | -25/+25 |
| | | | | No reason to have a separate namespace | ||||
* | Rename clazy_std namespace to clazy | Sergio Martins | 2017-12-18 | 1 | -6/+6 |
| | |||||
* | const-signal-or-slot: Don't print an error when connecting to lambda | Sergio Martins | 2017-11-15 | 1 | -3/+1 |
| | | | | | | returning nullptr is enough BUG: 386940 | ||||
* | Merge branch '1.2' | Sergio Martins | 2017-10-18 | 1 | -1/+1 |
|\ | |||||
| * | Add missing \n in debug message | Sergio Martins | 2017-10-15 | 1 | -1/+1 |
| | | |||||
* | | Inform which is the second argument => number of argument | Montel Laurent | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | + add space after this one. It avoids line as : error, invalid argIndex 3 3/compile/kde5/framework/kde/pim/kmail-account-wizard/src/cryptopage.cpp:226:9: warning: Pass 'this' as the 3rd connect parameter [-Wclazy-connect-3arg-lambda] => we have "3" without space so we can't copy path directly and we didn"t know when was the second "3" | ||||
* | | Reduce some duplicated code | Sergio Martins | 2017-10-12 | 1 | -2/+2 |
| | | |||||
* | | Merge branch '1.2' into master | Sergio Martins | 2017-10-11 | 1 | -0/+6 |
|\| | |||||
| * | old-style-connect: Add a fixit for one more case | Olivier Goffart (Woboq GmbH) | 2017-10-11 | 1 | -0/+6 |
| | | | | | | | | | | Fixes fixit when the argument types have different const reference, for example "const QString &" vs "QString", which are compatible. | ||||
* | | Merge branch '1.2' into master | Sergio Martins | 2017-09-21 | 1 | -0/+25 |
|\| | |||||
| * | Refactor into QtUtils::recordHasCtorWithParam | Sergio Martins | 2017-09-21 | 1 | -0/+25 |
| | | | | | | | | So code can be shared | ||||
* | | Replace a map with an unordered_map | Sergio Martins | 2017-08-06 | 1 | -2/+2 |
|/ | |||||
* | Merge two std::map, they had mostly the same contents | Sergio Martins | 2017-08-06 | 1 | -2/+26 |
| | | | | | | | | - Moved to QtUtils, so it can be shared with more checks - Removed the duplicate one from foreach, which was even wrong since it included QVarLengthArray, but that container isn't implicitly shared kfunk: ^^ | ||||
* | Refactor function so it can be reused | Sergio Martins | 2017-06-04 | 1 | -13/+0 |
| | |||||
* | Fix QtUtils::isQtContainer() | Sergio Martins | 2017-06-03 | 1 | -2/+6 |
| | | | | Was comparing "QList<T>" to "QList", for example. So always returning false. | ||||
* | Merge branch '1.1' into master | Sergio Martins | 2017-05-20 | 1 | -2/+2 |
|\ | |||||
| * | QtUtils: QVarLength is not COW | Sergio Martins | 2017-05-20 | 1 | -2/+2 |
| | | |||||
* | | Remove CheckBase::ci() and make m_ci private | Sergio Martins | 2017-04-23 | 1 | -10/+0 |
| | | | | | | | | Using the context is enough in all checks, no need to expose the compiler instance. | ||||
* | | Use m_context instead of m_ci.getASTContext() | Sergio Martins | 2017-04-23 | 1 | -5/+0 |
|/ | | | | Less verbose and trying to decouple from CompilerInstance. | ||||
* | reserve-candidates: Also support std::vector, not only Qt containers | Sergio Martins | 2017-02-25 | 1 | -1/+1 |
| | |||||
* | connect-non-signal: Don't fail to detect signals wrapped with a static-cast | Sergio Martins | 2017-02-12 | 1 | -0/+2 |
| | | | | BUG: 376137 | ||||
* | Move all source files into a src/ folder | Sergio Martins | 2017-02-05 | 1 | -0/+323 |
Top-level folder was starting to get messy |