diff options
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/inlinefields.cxx | 2 |
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()) ) |