https://bugs.kde.org/show_bug.cgi?id=426175

--- Comment #193 from caulier.gil...@gmail.com ---
Maik,

I experiment the clang-tidy "linter" like analyzer with digiKam code and i
found this report :

clang-tidy -header-filter=^/home/gilles/Documents/GIT/7.x/build/.*
-p=/home/gilles/Documents/GIT/7.x/build
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:247:5:
warning: Call to virtual function during destruction
[clang-analyzer-optin.cplusplus.VirtualCall]
    this->aboutToDeactivate();
    ^
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:73:5: note:
This destructor of an object of type '~WorkerObject' has not returned when the
virtual method was called
    shutDown();
    ^
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:73:5: note:
Calling 'WorkerObject::shutDown'
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:85:5: note:
Calling 'WorkerObject::deactivate'
    deactivate(PhaseOut);
    ^
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:232:9: note:
Control jumps to 'case Running:'  at line 235
        switch (d->state)
        ^
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:237:17: note:
 Execution continues on line 213
                break;
                ^
/home/gilles/Documents/GIT/7.x/core/libs/threads/workerobject.cpp:247:5: note:
Call to virtual function during destruction
    this->aboutToDeactivate();
    ^

More info :

https://clang.llvm.org/extra/clang-tidy/

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to