aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unneeded-cast/main.cpp.expected
blob: 448e714ccdc3abe2f4e91b3ebd2e4de4e4605251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
unneeded-cast/main.cpp:32:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast]
    dynamic_cast<A*>(b); // warning: Casting to base
unneeded-cast/main.cpp:33:5: warning: Casting to itself [-Wclazy-unneeded-cast]
    dynamic_cast<A*>(a); // warning: Casting to itself
unneeded-cast/main.cpp:35:5: warning: Casting to itself [-Wclazy-unneeded-cast]
    dynamic_cast<B*>(b); // warning: Casting to itself
unneeded-cast/main.cpp:36:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast]
    static_cast<A*>(b); // warning: Casting to base
unneeded-cast/main.cpp:37:5: warning: Casting to itself [-Wclazy-unneeded-cast]
    static_cast<A*>(a); // warning: Casting to itself
unneeded-cast/main.cpp:39:5: warning: Casting to itself [-Wclazy-unneeded-cast]
    static_cast<B*>(b); // warning: Casting to itself
unneeded-cast/main.cpp:50:5: warning: Use qobject_cast rather than dynamic_cast [-Wclazy-unneeded-cast]
unneeded-cast/main.cpp:51:5: warning: Casting to itself [-Wclazy-unneeded-cast]
unneeded-cast/main.cpp:53:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast]