aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-20 19:42:27 -0400
committerNico Weber <thakis@chromium.org>2021-09-20 19:42:49 -0400
commitbde305baf631004b8d00081f11e62b33e1665e45 (patch)
treef7c27a1383ac616e55fa97e4466c3be387b50d9c /clang/lib/Sema/SemaDeclObjC.cpp
parentbb2506061b06e9786b5eb9c458f52f9ba7e52a73 (diff)
downloadllvm-bde305baf631004b8d00081f11e62b33e1665e45.zip
llvm-bde305baf631004b8d00081f11e62b33e1665e45.tar.gz
llvm-bde305baf631004b8d00081f11e62b33e1665e45.tar.bz2
[clang] Fix a few comment more typos to cycle bots
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclObjC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp
index f19a041..51ac96f 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/lib/Sema/SemaDeclObjC.cpp
@@ -2614,7 +2614,7 @@ void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl,
if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional)
return;
// don't issue warning when primary class's method is
- // depecated/unavailable.
+ // deprecated/unavailable.
if (MethodDecl->hasAttr<UnavailableAttr>() ||
MethodDecl->hasAttr<DeprecatedAttr>())
return;
@@ -4834,7 +4834,7 @@ Decl *Sema::ActOnMethodDeclaration(
// If this method overrides a previous @synthesize declaration,
// register it with the property. Linear search through all
// properties here, because the autosynthesized stub hasn't been
- // made visible yet, so it can be overriden by a later
+ // made visible yet, so it can be overridden by a later
// user-specified implementation.
for (ObjCPropertyImplDecl *PropertyImpl : ImpDecl->property_impls()) {
if (auto *Setter = PropertyImpl->getSetterMethodDecl())