| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It wasn't finding them before
Patch by Allen
|
|
|
|
| |
QStringLiteral().isNull() is false
|
|
|
|
| |
CCBUG: 399544
|
|
|
|
|
|
|
| |
Since 5.12 this is no longer an issue, since QStringLiteral
was abolished from ui_*.h files.
BUG: 399544
|
| |
|
|
|
|
| |
Returns true for ui_*.h files
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It's skipped-based-method, not skipped-base-class
|
|
|
|
| |
This seems to make the resulting man page more valid.
|
|
|
|
|
| |
The doc directory changed a few weeks ago but the clazy script
wasn't adjusted
|
|
|
|
| |
BUG: 399090
|
|
|
|
|
|
|
| |
Next we need a way for the unit-tests to know that this
check isn't available
CCBUG: 399090
|
| |
|
| |
|
|
|
|
| |
5.5 is 50500, not 550
|
| |
|
|
|
|
| |
The instructions also apply to later versions, so only say "ubuntu"
|
|
|
|
| |
Now worth spending time fixing it for old clang 4.0
|
|
|
|
|
| |
The bundled .moc file has macros that were only introduced in 5.8
(QT_WARNING_DISABLE_DEPRECATED)
|
|
|
|
|
| |
It's failing with 4.0.
Will bump master to require 5.0 for all checks.
|
| |
|
| |
|
|
|
|
| |
BUG: 388925
|
| |
|
|
|
|
| |
Not all folders have unit-tests. For example docker/
|
|
|
|
|
|
|
|
|
| |
Removed ubuntu 16.04 since llvm 3.8 isn't spported anymore.
Removed archlinux, since I already test it on it as my native env,
will add some other distro in its place.
Added a comment property just to list the llvm and Qt version, just
for info
|
| |
|
|
|
|
| |
This check requires AST matches, which are disabled on debian+llvm7
|
|
|
|
| |
Receives a comma separated list of checks to not run
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If clazy is compiled with clang instead of gcc it might crash with:
==10637== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==10637== Access not within mapped region at address 0x8
==10637== at 0x19CDD8C: clang::ast_matchers::MatchFinder::MatchFinder(clang::ast_matchers::MatchFinder::MatchFinderOptions) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0x9D75670: ClazyASTConsumer (Clazy.cpp:62)
==10637== by 0x9D75670: ClazyASTAction::CreateASTConsumer(clang::CompilerInstance&, llvm::StringRef) (Clazy.cpp:183)
==10637== by 0x9E29ED: clang::FrontendAction::CreateWrappedASTConsumer(clang::CompilerInstance&, llvm::StringRef) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0x9E8FCA: clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0x9AE3D5: clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0xA8C9FA: clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0x5822C7: cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (in /usr/lib/llvm-7/bin/clang)
==10637== by 0x571ACC: main (in /usr/lib/llvm-7/bin/clang)
After debugging clazy and clang's code I couldn't find anything wrong with it.
Valgrind's output doesn't make much sense, and simply compiling the Clazy.cpp
translation unit with gcc instead of clang makes the crash go away and valgrind's output is clean.
I'm assuming debian's LLVM was built with gcc and building clazy with clang
will have some sort of incompatibility, or maybe it's simply a clang bug.
The downside of this workaround is that qcolor-literal check will be disabled.
Next step will be producing a minimal test case and reporting to LLVM.
BUG: 392223
CCMAIL: Woebbeking@kde.org
|
| |
| |
| |
| | |
Now we checkout what we fetched
|
| | |
|
| | |
|
| |
| |
| |
| | |
It's llvm-7/ not llvm-7.0/
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
On debian llvm-config is called llvm-config-X and there's symlinks
pointing to the correct X. By setting LLVM_ROOT env variable
FindLLVM.cmake will find the correct one
|
| |
| |
| |
| |
| |
| | |
debian container for example can have many clang versions, so in our
conf.json "name" is now the ID. Different names can use the same
docker url now.
|
| |
| |
| |
| | |
That's where clang is in most distros.
|
| |
| |
| |
| | |
The one in /usr/bin will be deleted from the containers
|
| | |
|
| |
| |
| |
| |
| | |
Some distros support multiple versions of clang, each in their own
prefix.
|
| |
| |
| |
| |
| | |
Previsouly it was in the container's /usr/bin/, so got out of sync
with other containers when edited.
|
| |
| |
| |
| |
| |
| |
| | |
By rewriting it in python.
"iamsergio/clazy-" is not hardcoded in the script anymore. It can
be replaced in the json file.
|
| |
| |
| |
| |
| | |
the string replace was transforming the list back into a string
fix is simply removing that code as it builds fine without it
|
| | |
|