[PATCH] D12973: [Static Analyzer] General type checker based on dynamic type information.
Anna Zaks via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 18 13:46:08 PDT 2015
zaks.anna accepted this revision.
This revision is now accepted and ready to land.
================
Comment at: test/Analysis/generics.m:239
@@ -238,3 +238,3 @@
NSArray *b = a;
- NSString *str = [b getObjAtIndex: 0]; // expected-warning {{Conversion}}
+ NSString *str = [b getObjAtIndex: 0]; // expected-warning {{Object}}
NSNumber *num = [b getObjAtIndex: 0];
----------------
Could you replace these with the full error message. It would much more readable this way.
http://reviews.llvm.org/D12973
More information about the cfe-commits
mailing list