diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-11-13 00:20:20 +0100 |
---|---|---|
committer | Mark Page <aptitude@btconnect.com> | 2017-11-13 08:43:17 +0100 |
commit | d71bcc4dc5025ea24944454908098269cfd095a3 (patch) | |
tree | 4e0e21223c2b7fc157b840d2c717eb1dd1ba7942 /compilerplugins | |
parent | 930efab3be7dd818918b7116119bb049acdcda76 (diff) |
Fix typos
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91
Reviewed-on: https://gerrit.libreoffice.org/44654
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/fragiledestructor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/fragiledestructor.cxx b/compilerplugins/clang/fragiledestructor.cxx index 5da9f0711b2d..f8a0ea50660c 100644 --- a/compilerplugins/clang/fragiledestructor.cxx +++ b/compilerplugins/clang/fragiledestructor.cxx @@ -53,7 +53,7 @@ bool FragileDestructor::TraverseCXXDestructorDecl(CXXDestructorDecl* pCXXDestruc || loplugin::hasPathnamePrefix(aFileName, SRCDIR "/include/cppuhelper/") || loplugin::hasPathnamePrefix(aFileName, SRCDIR "/cppuhelper/") || loplugin::hasPathnamePrefix(aFileName, SRCDIR "/comphelper/") - // don't know how to detect this in clang - it is making an explicit call to it's own method, so presumably OK + // don't know how to detect this in clang - it is making an explicit call to its own method, so presumably OK || loplugin::isSamePathname(aFileName, SRCDIR "/basic/source/sbx/sbxvalue.cxx") ) return RecursiveASTVisitor::TraverseCXXDestructorDecl(pCXXDestructorDecl); @@ -79,7 +79,7 @@ bool FragileDestructor::VisitCXXMemberCallExpr(const CXXMemberCallExpr* callExpr if (!callExpr->getImplicitObjectArgument()->IgnoreImpCasts()->isImplicitCXXThis()) { return true; } - // if we see an explicit call to it's own method, thats OK + // if we see an explicit call to its own method, that's OK auto s1 = compiler.getSourceManager().getCharacterData(callExpr->getLocStart()); auto s2 = compiler.getSourceManager().getCharacterData(callExpr->getLocEnd()); std::string tok(s1, s2-s1); |