Skip to content

Commit

Permalink
[NFC] Correcting minor typo.
Browse files Browse the repository at this point in the history
Summary: Hande -> Handle

Reviewers: xazax.hun

Reviewed By: xazax.hun

Subscribers: rnkovacs, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78233
  • Loading branch information
nvoorhies committed Apr 15, 2020
1 parent 30853cd commit 0b21f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/Sema/SemaDeclAttr.cpp
Expand Up @@ -6692,7 +6692,7 @@ static void handleMSAllocatorAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
handleSimpleAttribute<MSAllocatorAttr>(S, D, AL);
}

static void handeAcquireHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
static void handleAcquireHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
if (AL.isUsedAsTypeAttr())
return;
// Warn if the parameter is definitely not an output parameter.
Expand Down Expand Up @@ -7373,7 +7373,7 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D,
break;

case ParsedAttr::AT_AcquireHandle:
handeAcquireHandleAttr(S, D, AL);
handleAcquireHandleAttr(S, D, AL);
break;

case ParsedAttr::AT_ReleaseHandle:
Expand Down

0 comments on commit 0b21f15

Please sign in to comment.