summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
committerAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
commit2a8c18d99118827ff752cc8952a2096f33715f31 (patch)
tree5fbe7871948cb2c241487ca9ee86159891d67b64 /clang/test/SemaObjC
parentad768585ff488cf01588b2d0caa1f95260031cdc (diff)
downloadbcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.tar.gz
bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.zip
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
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