[clang] 0b21f15 - [NFC] Correcting minor typo.

Nate Voorhies via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 13:37:19 PDT 2020


Author: Nate Voorhies
Date: 2020-04-15T13:36:22-07:00
New Revision: 0b21f15e141737e421845b4a1993c7521af86ae6

URL: https://github.com/llvm/llvm-project/commit/0b21f15e141737e421845b4a1993c7521af86ae6
DIFF: https://github.com/llvm/llvm-project/commit/0b21f15e141737e421845b4a1993c7521af86ae6.diff

LOG: [NFC] Correcting minor typo.

Summary: Hande -> Handle

Reviewers: xazax.hun

Reviewed By: xazax.hun

Subscribers: rnkovacs, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78233

Added: 
    

Modified: 
    clang/lib/Sema/SemaDeclAttr.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index 5275afab263a..1a8a73660cf4 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -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.
@@ -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:


        


More information about the cfe-commits mailing list