rdar://45174557
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
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 ↗ | (On Diff #169263) | TODO: Use DynamicTypeInfo to return 0 when cast fails? |
clang/test/Analysis/osobject-retain-release.cpp | ||
34 ↗ | (On Diff #169263) | // no-warnings? |