Skip to content

Commit

Permalink
[clang] [NFC] Fix a couple of typos: assuments and assingment
Browse files Browse the repository at this point in the history
  • Loading branch information
bricknerb authored Oct 29, 2024
1 parent c370869 commit f490697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Sema/CheckExprLifetime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f490697

Please sign in to comment.