rdar://45174557
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Because it's all wrapped into an explicit cast to type *, evaluating cast manually is indeed unnecessary.
| clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp | ||
|---|---|---|
| 779 | TODO: Use DynamicTypeInfo to return 0 when cast fails? | |
| clang/test/Analysis/osobject-retain-release.cpp | ||
| 34 | // no-warnings? | |
TODO: Use DynamicTypeInfo to return 0 when cast fails?