summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-05-17 11:42:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-19 20:13:00 +0200
commit2c244e6f533067d6c3affbd83759c71bc910ae99 (patch)
treeea701d406d21ea1c58c54c744e3a325d638baaae /compilerplugins
parent098a7d7f74e262634e39d72264e6b3e9a30fffc5 (diff)
Fix typos
Change-Id: Ie0c9f168759a625d78668cd57838b208fbc9dc56 Reviewed-on: https://gerrit.libreoffice.org/54458 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'compilerplugins')
-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()) )