Warning, /sdk/clazy/tests/unneeded-cast/main.cpp.expected is written in an unsupported language. File is not indexed.
0001 unneeded-cast/main.cpp:32:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast] 0002 dynamic_cast<A*>(b); // warning: Casting to base 0003 unneeded-cast/main.cpp:33:5: warning: Casting to itself [-Wclazy-unneeded-cast] 0004 dynamic_cast<A*>(a); // warning: Casting to itself 0005 unneeded-cast/main.cpp:35:5: warning: Casting to itself [-Wclazy-unneeded-cast] 0006 dynamic_cast<B*>(b); // warning: Casting to itself 0007 unneeded-cast/main.cpp:36:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast] 0008 static_cast<A*>(b); // warning: Casting to base 0009 unneeded-cast/main.cpp:37:5: warning: Casting to itself [-Wclazy-unneeded-cast] 0010 static_cast<A*>(a); // warning: Casting to itself 0011 unneeded-cast/main.cpp:39:5: warning: Casting to itself [-Wclazy-unneeded-cast] 0012 static_cast<B*>(b); // warning: Casting to itself 0013 unneeded-cast/main.cpp:50:5: warning: Use qobject_cast rather than dynamic_cast [-Wclazy-unneeded-cast] 0014 unneeded-cast/main.cpp:51:5: warning: Casting to itself [-Wclazy-unneeded-cast] 0015 unneeded-cast/main.cpp:53:5: warning: explicitly casting to base is unnecessary [-Wclazy-unneeded-cast]