summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC')
-rw-r--r--clang/test/SemaObjC/arc-peformselector.m2
-rw-r--r--clang/test/SemaObjC/compare-qualified-class.m2
-rw-r--r--clang/test/SemaObjC/property-ivar-mismatch.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/arc-peformselector.m b/clang/test/SemaObjC/arc-peformselector.m
index a7e5d3e8239..ec385af5821 100644
--- a/clang/test/SemaObjC/arc-peformselector.m
+++ b/clang/test/SemaObjC/arc-peformselector.m
@@ -36,7 +36,7 @@
return [self performSelector : @selector(PlusZero)];
return [self performSelector : @selector(PlusOne)]; // expected-error {{performSelector names a selector which retains the object}}
- // Avoid the unkown selector warning for more complicated performSelector
+ // Avoid the unknown selector warning for more complicated performSelector
// variations because it produces too many false positives.
[self performSelector: sel1 withObject:0 afterDelay:0 inModes:0];
diff --git a/clang/test/SemaObjC/compare-qualified-class.m b/clang/test/SemaObjC/compare-qualified-class.m
index a5256152144..c7d4a2ec1a3 100644
--- a/clang/test/SemaObjC/compare-qualified-class.m
+++ b/clang/test/SemaObjC/compare-qualified-class.m
@@ -53,7 +53,7 @@ int main () {
@implementation OtherClass
- (ClassA<ProtocolY> *)aMethod {
// This does not work, even though ClassB subclasses from A and conforms to Y
- // because the property type explicity adds ProtocolX conformance
+ // because the property type explicitly adds ProtocolX conformance
// even though ClassB already conforms to ProtocolX
return self.aProperty;
}
diff --git a/clang/test/SemaObjC/property-ivar-mismatch.m b/clang/test/SemaObjC/property-ivar-mismatch.m
index 148fa8ebb27..3e2ae7eba12 100644
--- a/clang/test/SemaObjC/property-ivar-mismatch.m
+++ b/clang/test/SemaObjC/property-ivar-mismatch.m
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
-// Test that arithmatic types on property and its ivar have exact match.
+// Test that arithmetic types on property and its ivar have exact match.
@interface Test4
{
OpenPOWER on IntegriCloud