Author: Boaz Brickner
Date: 2024-10-29T15:08:24+01:00
New Revision: f490697cb9ad3db101ced7f4844002ffa0c73da8

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

LOG: [clang] [NFC] Fix a couple of typos: assuments and assingment

Added: 
    

Modified: 
    clang/lib/Sema/CheckExprLifetime.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/CheckExprLifetime.cpp 
b/clang/lib/Sema/CheckExprLifetime.cpp
index aa0a2e223e708f..357082fe329350 100644
--- a/clang/lib/Sema/CheckExprLifetime.cpp
+++ b/clang/lib/Sema/CheckExprLifetime.cpp
@@ -472,7 +472,7 @@ shouldTrackFirstArgumentForConstructor(const 
CXXConstructExpr *Ctor) {
 }
 
 // Return true if this is an "normal" assignment operator.
-// We assuments that a normal assingment operator always returns *this, that 
is,
+// We assume that a normal assignment operator always returns *this, that is,
 // an lvalue reference that is the same type as the implicit object parameter
 // (or the LHS for a non-member operator$=).
 static bool isNormalAssignmentOperator(const FunctionDecl *FD) {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to