aboutsummaryrefslogtreecommitdiffstats
path: root/src/Utils.h
Commit message (Collapse)AuthorAgeFilesLines
* function-args-by-*: don't warn for overridden methodsSergio Martins2018-03-171-0/+8
| | | | | | | As the user often can't change its signature. If it's a base method then it will warn. BUG: 391812
* llvm::StringRef++Sergio Martins2018-01-091-2/+2
|
* Fix build.Tom Isaacson2017-12-291-0/+1
|
* Optimize Utils::isAssignOperator()Sergio Martins2017-12-271-2/+2
|
* Merge branch '1.3' into masterSergio Martins2017-12-081-1/+1
|\
| * Utils::containsNonConstMemberCall() now honours assign operatorSergio Martins2017-12-081-1/+1
| | | | | | | | | | | | | | Was returning false previously. Fixes a false positive in range-loop. CCMAIL: Ch.Ehrlicher@gmx.de
* | Merge branch '1.3' into masterSergio Martins2017-12-031-0/+5
|\|
| * Don't try to fix strings with escaped bytesSergio Martins2017-12-031-0/+5
| | | | | | | | | | | | | | | | | | While QString::fromUtf8("ö") is equal to QString::fromUtf8("\xc3\xb6"), QStringLiteral("ö") is not equal to QStringLiteral("\xc3\xb6") because the escaped bytes won't be converted to utf-16 but instead used directly as is. CCMAIL: faure@kde.org CCMAIL: montel@kde.org
* | performance: Checks can now claim they can ignore includesSergio Martins2017-11-301-5/+1
| | | | | | | | | | | | | | | | | | | | | | Most checks don't need to inspect the AST of their includes to emit warnings in the .cpp file they're processing. Some checks do, so this has to be done explicitly, case by case. For now just added it to the checks pointed out by the profiler. Useful for IDEs which are only showing inline warnings for the current file.
* | Add option ignore-included-filesSergio Martins2017-11-291-0/+12
|/ | | | | | | | With this it will only emit warnings for the current file and ignore any includes. This is useful for IDEs. Will be interesting to not even visit the AST of the included code but some checks depend on the included code to work properly.
* Don't build the utils library by defaultSergio Martins2017-04-191-1/+1
| | | | | | | | | Instead, build all those *Utils.cpp files into the plugin. No need to have two libraries. Pass -DCLAZY_BUILD_UTILS_LIB=ON to build the library in case you want to reuse clazy's code. But beware we don't promiss ABI nor source compat.
* Move all source files into a src/ folderSergio Martins2017-02-051-0/+278
Top-level folder was starting to get messy