summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/inlinefields.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/inlinefields.cxx')
-rw-r--r--compilerplugins/clang/inlinefields.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/inlinefields.cxx b/compilerplugins/clang/inlinefields.cxx
index ef69fcfbd4c3..0c1d28e20e0c 100644
--- a/compilerplugins/clang/inlinefields.cxx
+++ b/compilerplugins/clang/inlinefields.cxx
@@ -189,7 +189,7 @@ bool InlineFields::VisitBinAssign(const BinaryOperator * binaryOp)
if (!parentFunction) {
return true;
}
- // if the field is being assigned from outside it's own constructor or destructor, exclude
+ // if the field is being assigned from outside its own constructor or destructor, exclude
auto constructorDecl = dyn_cast<CXXConstructorDecl>(parentFunction);
if (constructorDecl && isSameParent(constructorDecl, fieldDecl)) {
if( isa<CXXNewExpr>(binaryOp->getRHS()) )