r245951 - [Static Analyzer] Fix tests to reflect the change in the diagnostic message.

Gabor Horvath via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 25 09:38:06 PDT 2015


Author: xazax
Date: Tue Aug 25 11:38:05 2015
New Revision: 245951

URL: http://llvm.org/viewvc/llvm-project?rev=245951&view=rev
Log:
[Static Analyzer] Fix tests to reflect the change in the diagnostic message.

Modified:
    cfe/trunk/test/Analysis/generics.m

Modified: cfe/trunk/test/Analysis/generics.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/generics.m?rev=245951&r1=245950&r2=245951&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/generics.m (original)
+++ cfe/trunk/test/Analysis/generics.m Tue Aug 25 11:38:05 2015
@@ -313,9 +313,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -457,9 +457,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -567,9 +567,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -822,9 +822,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>1</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSNumber *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSNumber *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSNumber *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSNumber *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -961,9 +961,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1071,9 +1071,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1215,9 +1215,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1325,9 +1325,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'id' to 'NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1469,9 +1469,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1613,9 +1613,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1723,9 +1723,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -1901,9 +1901,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to 'MutableArray *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to 'MutableArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to 'MutableArray *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to 'MutableArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2045,9 +2045,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2189,9 +2189,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from explicit cast (from 'MutableArray *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from explicit cast (from 'MutableArray *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from explicit cast (from 'MutableArray *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from explicit cast (from 'MutableArray *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2333,9 +2333,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2477,9 +2477,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2587,9 +2587,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'ExceptionalArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2731,9 +2731,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2841,9 +2841,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is infered from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
+// CHECK:      <string>Type 'ExceptionalArray<NSString *> *' is inferred from implicit cast (from 'id' to 'ExceptionalArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -2985,9 +2985,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3129,9 +3129,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'id' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'id' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3273,9 +3273,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'LegacyMutableArray *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'LegacyMutableArray *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'LegacyMutableArray *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'LegacyMutableArray *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3417,9 +3417,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'LegacySpecialMutableArray *' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'LegacySpecialMutableArray *' to 'MutableArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'LegacySpecialMutableArray *' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'LegacySpecialMutableArray *' to 'MutableArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3561,9 +3561,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'BuggyMutableArray<NSMutableString *> *' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'BuggyMutableArray<NSMutableString *> *' to 'MutableArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSString *> *' is infered from implicit cast (from 'BuggyMutableArray<NSMutableString *> *' to 'MutableArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSString *> *' is inferred from implicit cast (from 'BuggyMutableArray<NSMutableString *> *' to 'MutableArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3705,9 +3705,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'BuggySpecialMutableArray<NSMutableString *> *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'BuggySpecialMutableArray<NSMutableString *> *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'BuggySpecialMutableArray<NSMutableString *> *' to 'MutableArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'BuggySpecialMutableArray<NSMutableString *> *' to 'MutableArray<NSMutableString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3849,9 +3849,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -3993,9 +3993,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4137,9 +4137,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4281,9 +4281,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSNumber *> *' is infered from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
+// CHECK:      <string>Type 'NSArray<NSNumber *> *' is inferred from implicit cast (from 'NSArray<NSNumber *> *' to 'NSArray *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4425,9 +4425,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to 'NSArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to 'NSArray<NSMutableString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to 'NSArray<NSMutableString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to 'NSArray<NSMutableString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4603,9 +4603,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to '__kindof NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to '__kindof NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is infered from implicit cast (from 'MutableArray<NSMutableString *> *' to '__kindof NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'MutableArray<NSMutableString *> *' is inferred from implicit cast (from 'MutableArray<NSMutableString *> *' to '__kindof NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4747,9 +4747,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray *' to 'NSArray<NSString *> *')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -4857,9 +4857,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from this context</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from this context</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from this context</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from this context</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -5001,9 +5001,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from this context</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from this context</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from this context</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from this context</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>
@@ -5145,9 +5145,9 @@ void testMistmatchedTypeCast(MutableArra
 // CHECK:      </array>
 // CHECK:      <key>depth</key><integer>0</integer>
 // CHECK:      <key>extended_message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:      <key>message</key>
-// CHECK:      <string>Type 'NSArray<NSString *> *' is infered from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
+// CHECK:      <string>Type 'NSArray<NSString *> *' is inferred from implicit cast (from 'NSArray<NSString *> *' to 'id')</string>
 // CHECK:     </dict>
 // CHECK:     <dict>
 // CHECK:      <key>kind</key><string>control</string>




More information about the cfe-commits mailing list