[clazy] [Bug 400452] disabling checks doesn't work

2018-11-11 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=400452 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED

[clazy] [Bug 394334] Building target fails

2018-11-11 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=394334 --- Comment #3 from Sergio Martins --- can you try with no spec at all ? Did you build clazy and clang on your own ? Which clazy version did you try ? -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 400942] using QObject::QObject; should make the clazy-ctor-missing-parent-argument go away

2018-11-11 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=400942 Sergio Martins changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution

[clazy] [Bug 419578] Promote selected Clazy checks to errors

2020-04-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=419578 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED

[clazy] [Bug 419578] Promote selected Clazy checks to errors

2020-04-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=419578 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |c.scha...@t-online.de -- You are receiving

[clazy] [Bug 419578] Promote selected Clazy checks to errors

2020-04-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=419578 --- Comment #1 from Sergio Martins --- If you could look at it it would be great. Last time I checked (2 or 3 years ago) it was hard to do, as clang didn't accept custom check names in -Werror=, only the built-in ones, I wonder if this has ch

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015 --- Comment #1 from Sergio Martins --- good idea -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 394334] Building target fails

2018-11-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=394334 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|CONFIRMED

[clazy] [Bug 399853] Request: Provide binary release packages

2018-11-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=399853 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Latest Commit

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-11-16 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 Sergio Martins changed: What|Removed |Added Latest Commit||https://commits.kde.org/cla

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-11-16 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #36 from Sergio Martins --- This is now be fixed in latest 1.4 and master branches. If your LLVM is static (*.a files instead of .so) you'll need to build clazy with -DLINK_TO_LLVM=OFF , if that doesn't work for you then there&

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-17 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015 Sergio Martins changed: What|Removed |Added Status|REPORTED|ASSIGNED Ever confirmed|0

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-18 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015 --- Comment #2 from Sergio Martins --- Thinking this should be implemented in Qt instead, with a static-assert -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-18 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Latest Commit

[clazy] [Bug 396904] Clazy needs a logo/icon, e.g. for usage in GUI IDE integration

2018-07-27 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=396904 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0

[clazy] [Bug 396904] Clazy needs a logo/icon, e.g. for usage in GUI IDE integration

2018-07-27 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=396904 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org --- Comment #1 from Sergio

[clazy] [Bug 396904] Clazy needs a logo/icon, e.g. for usage in GUI IDE integration

2018-07-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=396904 --- Comment #2 from Sergio Martins --- commit 9093d0d1f33aad276f2a65141f9fd7bd95f8a0cf Author: Sergio Martins Date: Sat Jul 28 15:05:12 2018 +0100 Add a logo and an icon CCBUG: 396904 -- You are receiving this mail because: You are

[clazy] [Bug 396904] Clazy needs a logo/icon, e.g. for usage in GUI IDE integration

2018-07-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=396904 --- Comment #3 from Sergio Martins --- This is what I have, let me know if they work -- You are receiving this mail because: You are watching all bug changes.

[yakuake] [Bug 396357] make middle click closes tab optional

2018-08-15 Thread Sergio Carlavilla
https://bugs.kde.org/show_bug.cgi?id=396357 Sergio Carlavilla changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[yakuake] [Bug 396357] make middle click closes tab optional

2018-08-15 Thread Sergio Carlavilla
https://bugs.kde.org/show_bug.cgi?id=396357 --- Comment #2 from Sergio Carlavilla --- Created attachment 114446 --> https://bugs.kde.org/attachment.cgi?id=114446&action=edit Patch -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 395303] Add check: prefer qgetenv/qputenv over the C library functions getenv/putenv/setenv

2018-08-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=395303 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 395303] Add check: prefer qgetenv/qputenv over the C library functions getenv/putenv/setenv

2018-08-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=395303 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|CONFIRMED

[clazy] [Bug 392912] Proposal for check qstring-allocations

2018-08-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392912 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Severity|normal

[clazy] [Bug 389055] suggest simplification: `$smartpointer.data()->` to `$smartpointer->`

2018-08-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389055 --- Comment #2 from Sergio Martins --- https://codereview.qt-project.org/#/c/230337/ is an example of gcc 4.8 nagging about missing data() -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 393039] Warn about using QStringLiteral for empty strings

2018-08-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393039 Sergio Martins changed: What|Removed |Added Latest Commit||https://commits.kde.org/cla

[clazy] [Bug 397885] clazy-standalone: option to exclude subdirs

2018-08-27 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=397885 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 391212] Allow hiding bugs in pre-installed Qt (add path-based filter)

2018-02-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391212 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org Status

[clazy] [Bug 391212] Allow hiding bugs in pre-installed Qt (add path-based filter)

2018-02-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391212 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[clazy] [Bug 391212] Allow hiding bugs in pre-installed Qt (add path-based filter)

2018-02-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391212 --- Comment #2 from Sergio Martins --- Git commit 23015920c13aa64228ff0dd23cf15473a2ab18f6 by Sergio Martins. Committed on 28/02/2018 at 10:08. Pushed by smartins into branch 'master'. Added CLAZY_HEADER_FILTER env variable In case you

[clazy] [Bug 391212] Allow hiding bugs in pre-installed Qt (add path-based filter)

2018-02-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391212 --- Comment #3 from Sergio Martins --- Please test this, but I think the regexp is enough -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 391807] Not possible to use Q_GLOBAL_STATIC with QStringLiteral.

2018-03-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391807 Sergio Martins changed: What|Removed |Added Latest Commit||https://commits.kde.org/cla

[clazy] [Bug 391812] False positive for check "function-args-by-value"

2018-03-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391812 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0

[clazy] [Bug 391812] False positive for check "function-args-by-value"

2018-03-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391812 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 391824] False positive check "qstring-allocations" for function translate

2018-03-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391824 --- Comment #1 from Sergio Martins --- Can you show a compilable-testcase. Must be minimal, as I'll shove the code directly into clazy's unit-tests thanks -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 391851] False positive check "qstring-arg" for macros QT_REQUIRE_VERSION

2018-03-14 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391851 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org Status

[clazy] [Bug 391851] False positive check "qstring-arg" for macros QT_REQUIRE_VERSION

2018-03-14 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391851 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Latest Commit

[clazy] [Bug 391824] False positive check "qstring-allocations" for function translate

2018-03-14 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391824 --- Comment #3 from Sergio Martins --- tr() doesn't take QString as argument, so there's no allocation You can either use const char* in your translate function, or: translate(QStringLiteral("context"), QStringLiteral("

[clazy] [Bug 391854] New check "Avoid duplicated QStringLiterals"

2018-03-14 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391854 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[clazy] [Bug 391812] False positive for check "function-args-by-value"

2018-03-17 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=391812 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Latest Commit

[clazy] [Bug 393745] Build is broken with trunk LLVM/Clang

2018-05-05 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393745 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org Status

[clazy] [Bug 393745] Build is broken with trunk LLVM/Clang

2018-05-06 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393745 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 393745] Build is broken with trunk LLVM/Clang

2018-05-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393745 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[clazy] [Bug 385476] Warn on use of Qt autoconnected slots

2017-12-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385476 --- Comment #3 from Sergio Martins --- commit 23dba8277d0595f08d2ece41c5366f248b7719ff (HEAD -> master, origin/master) Author: Sergio Martins Date: Fri Dec 15 16:34:38 2017 + new check: Introducing connect-by-name "auto con

[clazy] [Bug 385476] Warn on use of Qt autoconnected slots

2017-12-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385476 --- Comment #4 from Sergio Martins --- The fixit had some bugs, it's a bit complicated to cover all edge-cases, so I decided to just use the simplest implementation, so it can be a level 0 check. Thanks for your suggestion, auto connected slots s

[clazy] [Bug 385475] Warn on broken Qt autoconnected slots

2017-12-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385475 Sergio Martins changed: What|Removed |Added Resolution|--- |WONTFIX Status|CONFIRMED

[clazy] [Bug 385476] Warn on use of Qt autoconnected slots

2017-12-15 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385476 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 388682] rule-of-three warning in class that has a deleted copy assignment operator

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388682 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned-b...@kde.org

[clazy] [Bug 388677] rule-of-three warning in class that is not copyable

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388677 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned-b...@kde.org

[clazy] [Bug 388677] rule-of-three warning in class that is not copyable

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388677 --- Comment #1 from Sergio Martins --- commit 0e86a561361f1cafc2680d3966cd126c5cd9034e (HEAD -> 1.3, origin/1.3) Author: Sergio Martins Date: Mon Jan 8 18:21:59 2018 + rule-of-three: Don't warn if either copy-assign or copy-ctor is

[clazy] [Bug 388677] rule-of-three warning in class that is not copyable

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388677 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 388530] README.md does not include all checks

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388530 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned-b...@kde.org

[clazy] [Bug 388530] README.md does not include all checks

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388530 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Status|CONFIRMED

[clazy] [Bug 388682] rule-of-three warning in class that has a deleted copy assignment operator

2018-01-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388682 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Latest Commit

[clazy] [Bug 392224] Improve check "qstring-allocations". Replace QString::setNum with static version QString::number

2018-03-23 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392224 Sergio Martins changed: What|Removed |Added Severity|normal |wishlist -- You are receiving this mail

[clazy] [Bug 392224] Improve check "qstring-allocations". Replace QString::setNum with static version QString::number

2018-03-23 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392224 --- Comment #1 from Sergio Martins --- Only if the second form uses less memory allocations than the first. They might be the same, I'll have to check with heaptrack -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 392223] segmentation fault

2018-03-23 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 --- Comment #1 from Sergio Martins --- Works for me with latest trunk, on archlinux. Are you sure you have a matching llvm and clang, and updated both repos ? -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 388925] Segmentation fault in OldStyleConnect::fixits() calling Expr::getBestDynamicClassType()

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=388925 --- Comment #7 from Sergio Martins --- Yes, clang 6.0 works fine too. Could you attach the .cpp file that made it crash ? Or trim it down to the essential part -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 353770] new check: Create fixits to convert raw chars to QLatin1Char()

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=353770 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 354144] new check: Pass QChar instead of QString to overloads taking QChar

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=354144 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 359640] new check: unneeded-qstringliteral

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=359640 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 355453] new-check: Suggest QVarLengthArray instead of const QList foo = {}

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=355453 Sergio Martins changed: What|Removed |Added Resolution|--- |LATER Status|UNCONFIRMED

[clazy] [Bug 385801] favor function taking or returning std::chrono types

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=385801 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0

[clazy] [Bug 389055] suggest simplification: `$smartpointer.data()->` to `$smartpointer->`

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389055 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[clazy] [Bug 389056] suggest using initializer lists

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389056 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0

[clazy] [Bug 389994] new-check: Avoid explicit qRegisterMetaType / Q_DECLARE_METATYPE

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389994 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0

[clazy] [Bug 389994] new-check: Avoid explicit qRegisterMetaType / Q_DECLARE_METATYPE

2018-03-24 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389994 --- Comment #1 from Sergio Martins --- Sounds interesting! Can you attach a sample .cpp file where running moc on it would generate the qRegisterMEtaType ? -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 392223] segmentation fault

2018-03-27 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 --- Comment #3 from Sergio Martins --- If you want to try my steps: $ cd $ git clone https://github.com/llvm-mirror/llvm.git $ cd llvm/tools/ $ git clone https://github.com/llvm-mirror/clang.git $ cd .. $ cd projects/ $ git clone https://github.com

[clazy] [Bug 392223] segmentation fault

2018-03-27 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 --- Comment #2 from Sergio Martins --- works for me on ubuntu 16.04 too can you pastebin: - configure flags passed to llvm/clang - output of cmake when building clazy -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 392223] segmentation fault

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 --- Comment #6 from Sergio Martins --- If you paste the commands I need to install that specific llvm I'll give it a go. I have a ubuntu 16.04 docker -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 392441] internal error with QOverload <>::of

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392441 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Latest Commit

[clazy] [Bug 392224] Improve check "qstring-allocations". Replace QString::setNum with static version QString::number

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392224 Sergio Martins changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[clazy] [Bug 392223] segmentation fault

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #15 from Sergio Martins --- I've tested clazy with llvm 5.0, 6.0 and 7.0 build from source and it's working fine when using shared libraries, my llvm cmake line is: cmake -DCMAKE_INSTALL_PREFIX=/data/prefix

[clazy] [Bug 392223] segmentation fault

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[clazy] [Bug 392223] segmentation fault

2018-03-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392223 --- Comment #8 from Sergio Martins --- Reproduced. It only happens when using clang as compiler, building clazy with gcc is fine. This looks like a clang 7.0 bug. -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-04-01 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #17 from Sergio Martins --- That error is when using the static one, what's the actual error when using -DBUILD_SHARED_LIBS=ON ? Also please paste the cmake output when building clazy itself with the dynamically linked llvm -- Yo

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-04-02 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #20 from Sergio Martins --- Interesting, looks like your LLVM is dynamic, but your clang is static: LLVM libraries: -lLLVMLTO -lLLVMPasses -lLLVMObjCARCOpts -lLLVMSymbolize -lLLVMDebugInfoPDB -lLLVMDebugInfoDWARF -lLLVMFuzzMutate

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-04-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #25 from Sergio Martins --- Hi, This last attachment still shows that clang is built statically: Clang libraries:/usr/local/lib/libclangFrontend.a; note the .a file, instead of .so. Using -DBUILD_SHARED_LIBS=ON should make both llvm

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-04-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #28 from Sergio Martins --- That's almost perfect, I would just suggest that you install clazy to LLVM's prefix, instead of /data/prefix/clang-6.0/. Seems to be /usr/local/ Now, when running clazy it just needs to find it'

[clazy] [Bug 392795] Support QOverload<>::of in fix-old-style-connect

2018-04-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392795 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[clazy] [Bug 392795] Support QOverload<>::of in fix-old-style-connect

2018-04-08 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=392795 --- Comment #1 from Sergio Martins --- I don't have much time now, so don't hold your breath. But it's a good suggestion -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 389473] Clang plugin error with latest versions

2018-04-10 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389473 --- Comment #30 from Sergio Martins --- Before invoking clazy, it seems to be a runtime problem now -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 393038] False positive check "function-args-by-value". Template override case.

2018-04-12 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393038 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 393038] False positive check "function-args-by-value". Template override case.

2018-04-12 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393038 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[clazy] [Bug 393039] Warn about using QStringLiteral for empty strings

2018-04-12 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393039 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org Severity|normal

[clazy] [Bug 393039] Warn about using QStringLiteral for empty strings

2018-04-12 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=393039 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[clazy] [Bug 389057] warn about QTimer::singleShot(0) performance

2018-02-10 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389057 --- Comment #1 from Sergio Martins --- Is this still relevant with all your patches ? -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 389994] new-check: Avoid explicit qRegisterMetaType / Q_DECLARE_METATYPE

2018-02-10 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=389994 Sergio Martins changed: What|Removed |Added Severity|normal |wishlist -- You are receiving this mail

[clazy] [Bug 375239] connect-non-signal false positive when using macros to declare signals

2017-01-19 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375239 Sergio Martins changed: What|Removed |Added Resolution|--- |FIXED Latest Commit

[clazy] [Bug 375537] clazy-rule-of-two-soft false positive if class has move assignment operator

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375537 Sergio Martins changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[clazy] [Bug 375537] clazy-rule-of-two-soft false positive if class has move assignment operator

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375537 --- Comment #2 from Sergio Martins --- Git commit 6358b56182a85d962175686db87dd7cb3f40ffe9 by Sergio Martins. Committed on 25/01/2017 at 11:43. Pushed by smartins into branch 'master'. rule-of-two-soft: Add unit-test for a bug A +7-

[clazy] [Bug 375477] Clazy man page

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375477 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |win...@kde.org Ever confirmed|0

[clazy] [Bug 375477] Clazy man page

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375477 Sergio Martins changed: What|Removed |Added Severity|normal |wishlist -- You are receiving this mail

[clazy] [Bug 370713] new check: Q_INVOKABLEs returning QObject

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=370713 Sergio Martins changed: What|Removed |Added Severity|normal |wishlist Status|UNCONFIRMED

[clazy] [Bug 375537] clazy-rule-of-two-soft false positive if class has move assignment operator

2017-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375537 --- Comment #3 from Sergio Martins --- Forgot to use BUG in the commit message. But this is fixed now commit 6fb181bccceaf7dec6bb1d57c849f5156dd54dc3 Author: Sergio Martins Date: Wed Jan 25 22:01:53 2017 + rule-of-two-soft: Don't

[clazy] [Bug 375537] clazy-rule-of-two-soft false positive if class has move assignment operator

2017-01-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375537 Sergio Martins changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution

[clazy] [Bug 375264] False positives reported for "not a signal"

2017-01-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375264 Sergio Martins changed: What|Removed |Added Assignee|unassigned-b...@kde.org |smart...@kde.org -- You are receiving this

[clazy] [Bug 375264] False positives reported for "not a signal"

2017-01-28 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375264 --- Comment #2 from Sergio Martins --- Can you check if you're using precompiled headers ? Paste the compiler invocation -- You are receiving this mail because: You are watching all bug changes.

[clazy] [Bug 375264] False positives reported for "not a signal"

2017-01-29 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=375264 Sergio Martins changed: What|Removed |Added Latest Commit||https://commits.kde.org/cla

<    1   2   3   4   5   6   7   8   9   10   >