aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clazy.cmake - don't print level3 checker listupstream/1.6Allen Winter2020-05-071-3/+8
| | | | | | level3 has been removed in v1.6 Differential Revision: https://phabricator.kde.org/D29348
* qstring-allocations: Fix unit-tests with llvm-10Sergio Martins2020-04-192-6/+32
| | | | | | | Wasn't warning for: QStringList list = { "foo" }; The child CXXConstructExprs appear in the AST but are never visited.
* Update README-copyable-polymorphic.mdFrank Dana2020-04-131-1/+1
| | | Make the example function call's name match its definition
* Fix build issues using llvm 10.0.0Johannes Ziegenbalg2020-03-283-1/+15
|
* Coding styleChristophe Giboudeaux2019-11-111-7/+7
| | | | GIT_SILENT
* Check if clazy should be linked to clang-cppChristophe Giboudeaux2019-11-112-3/+9
| | | | | | | | | | | | | | | | Summary: According to [1], clang can now provide a single shared library instead of split ones. We have to check if this library exists and link to it if available. [1] https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html#build-system-changes Reviewers: smartins, kde-buildsystem Reviewed By: smartins Differential Revision: https://phabricator.kde.org/D25163
* CMakeLists.txt, clazy.cmake - use greadlink on MacOSAllen Winter2019-11-072-2/+10
| | | | | a variation of https://github.com/KDE/clazy/pull/29 ack'd by Sergio
* README.md: remove incorrect WARNING in front of headerPragma Twice2019-11-061-2/+0
|
* Fix clazy-standalone always needing a source file nameSergio Martins2019-11-031-13/+1
| | | | | | | | | fixes --list-checks I can't reproduce the failure anymore so removing the llvm-9 workarounds CCMAIL: kfunk@kde.org
* Dont' generate an empty yaml file if there's no fixitsSergio Martins2019-11-021-4/+7
| | | | CCMAIL: kfunk@kde.org
* inefficient-qlist: Fix test on 32-bit platformsSergio Martins2019-10-202-1/+9
| | | | | The warning is different. BUG: 413169
* Add a 32bit ubuntu Dockerfile for testingSergio Martins2019-10-202-0/+18
| | | | CCMAIL: 413169
* AppImage: Blacklist failing tests due to missing std::regexpSergio Martins2019-10-141-1/+1
| | | | We should port to llvm::regexp instead.
* When running test_requested_checks.sh, honour CLAZY_CXXSergio Martins2019-10-141-1/+6
|
* AppImage: Run a git pull in /clazy before executing the scriptSergio Martins2019-10-141-1/+1
| | | | | Otherwise I need to regenerate a new docker container each time I fix something in the script
* AppImage: Add cmake hack to build on our old Centos 6.8Sergio Martins2019-10-142-1/+9
| | | | | | | No idea why we get those linker errors on Centos. Enabling those libraries unconditionally would break Fedora. This is probably due to a bug in llvm-config
* Update make_appimage.sh so it matches the new docker containerSergio Martins2019-10-142-11/+4
|
* heap-allocated-small-trivial-type: Minor README improvementSergio Martins2019-10-141-1/+4
|
* AppImage: Remove more llvm binaries which we don't needSergio Martins2019-10-141-1/+1
|
* AppImage: Install llvm to our AppImage folderSergio Martins2019-10-134-8/+34
|
* Add Dockerfile to build a CentOS 6.8 container to build an AppImageSergio Martins2019-10-131-0/+44
|
* Update the AppImage script to LLVM 9.0v1.6Sergio Martins2019-10-121-1/+1
|
* Update the Windows package readmeSergio Martins2019-10-121-1/+1
| | | | LLVM was bumped to 9.0
* README: Don't require to build clazy with clang-cl on WindowsSergio Martins2019-10-121-3/+0
| | | | MSVC works again
* Update ChangeLog for today's 1.6 releaseSergio Martins2019-10-121-3/+4
|
* tests: Update comment about running docker for fedoraSergio Martins2019-10-091-1/+1
|
* Fix build with MSVCNikolai Kosjar2019-10-092-1/+29
| | | | | | | | | | Fixes the MSVC compiler error: "C2026: string too big, trailing characters truncated" Due to checks.json.h being too big splitted strings works fine REVIEW: D24506
* Fix build with MSVCCristian Adam2019-10-091-0/+1
| | | | | | std::isspace is part of <cctype> REVIEW: D24513
* tests: Fix passing arguments to docker, had a typoSergio Martins2019-10-091-1/+1
|
* Amend previous commit, we want DLINK_CLAZY_TO_LLVM=OFF, not ONSergio Martins2019-10-091-1/+1
|
* tests: Fix exceptions about environment having non asciiSergio Martins2019-10-081-2/+4
|
* tests: Allow to pass cmake arguments to the docker containersSergio Martins2019-10-083-3/+8
| | | | | Fedora container now uses -DLINK_CLAZY_TO_LLVM=ON as it's required there for building
* tests Fix fixit tests on WindowsSergio Martins2019-10-081-1/+4
| | | | When patching the yaml files we need to normalize slashes
* tests: Fix calling diff on Windows due to line-endingsSergio Martins2019-10-081-1/+1
| | | | We need to normalize line endings before comparing
* tests: Fix a python exception on WindowsSergio Martins2019-10-071-1/+7
| | | | Probably related to the migration to python3
* tests: Add option to not run fixitsSergio Martins2019-10-071-2/+4
| | | | for debugging simpler cases
* Update README with instructions to build on WindowsSergio Martins2019-10-071-4/+7
| | | | | | We now need to build with clang-cl instead of MSVC, otherwise we get "C2026: C++ string too big, trailing characters truncated" when compiling checks.json.h
* qproperty-type-mismatch: Fix build on WindowsSergio Martins2019-10-071-1/+1
| | | | MSVC doesn't know about 'uint'
* qproperty-type-mismatch: Fix unit-tests with llvm-9Sergio Martins2019-10-051-0/+3
| | | | Prior to version 9 the last character was missing in the macro
* tests: Install diffutils in Fedora's dockerSergio Martins2019-10-041-1/+1
| | | | | Needed to print the differences between expected and actual, when a test fails
* qproperty-without-notify: Fix false-positives with llvm-9Sergio Martins2019-10-031-0/+3
| | | | Before llvm-9 the last character was missing.
* Comment-out unintentional debugSergio Martins2019-10-031-1/+1
|
* Fix clazy-standalone with llvm-9Sergio Martins2019-10-031-1/+14
| | | | | | | | | | | | | | | | | | | This is a temporary fix so it doesn't block distros from using clazy with llvm-9. And I'm not even sure others can reproduce, as it might be a local compiler bug here. Debugged it quite a bit and couldn't reach any conclusion. Nikolai, it would be great if you could run: $ cd tests/ $ clazy-standalone auto-unexpected-qstringbuilder/main.cpp after having uncommented: // llvm::errs() << optionsParser.getSourcePathList().size() << "\n"; in ClazyStandaloneMain.cpp should not print 0 CCMAIL: nikolai.kosjar@qt.io
* tests: Add Dockerfile for opensuse-tumbleweedSergio Martins2019-10-032-0/+18
|
* tests: Add opensuse-leap and fedora-31 DockerfilesSergio Martins2019-10-033-0/+36
|
* tests: Add Archlinux and Debian DockerfilesSergio Martins2019-10-033-0/+36
|
* tests: Add the Dockerfile used for creating the ubuntu imageSergio Martins2019-10-031-0/+12
|
* Add checks.json.h to .gitignoreSergio Martins2019-10-031-0/+1
|
* Fix the tests through dockerSergio Martins2019-10-032-31/+10
| | | | | | | Updated the python script that runs the tests inside docker. Now respects llvm_root. Removed old docker containers that don't work (yet).
* tests: Fix utf-8 exception introduced with python3 migrationSergio Martins2019-10-031-2/+2
| | | | Tests now pass in ubuntu again