The more detailed diagnostic will make identifying which object the diagnostics refer to easier.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | ||
---|---|---|
2000 ↗ | (On Diff #81429) | I think we should use this diagnostic text when type is not an ObjCObjectPointerType also. Where this matters, I think, is for id. It seems weird to say "returns an instance of id"; I think it would be better in that case to say "returns an Objective-C object". |