Skip to content

Commit 403739b

Browse files
committed
[AST][NFC] Fixes a comment typo
Also a test for commit access.
1 parent 1bfcc60 commit 403739b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/DeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases,
413413
data().HasIrrelevantDestructor = false;
414414

415415
// C++11 [class.copy]p18:
416-
// The implicitly-declared copy assignment oeprator for a class X will
416+
// The implicitly-declared copy assignment operator for a class X will
417417
// have the form 'X& X::operator=(const X&)' if each direct base class B
418418
// of X has a copy assignment operator whose parameter is of type 'const
419419
// B&', 'const volatile B&', or 'B' [...]

0 commit comments

Comments
 (0)