[Libreoffice-commits] core.git: compilerplugins/clang
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 30 15:20:28 UTC 2019
compilerplugins/clang/noexceptmove.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4b4b1689dbecb087912124497c88347735a3ca54
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 30 17:17:48 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Aug 30 17:19:34 2019 +0200
Fix typos
Change-Id: I965ade27bdbd5d1f0e6cc902c1f01fa905e668f2
Reviewed-on: https://gerrit.libreoffice.org/78305
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/compilerplugins/clang/noexceptmove.cxx b/compilerplugins/clang/noexceptmove.cxx
index 483ccaed44cf..1920d11ac571 100644
--- a/compilerplugins/clang/noexceptmove.cxx
+++ b/compilerplugins/clang/noexceptmove.cxx
@@ -120,7 +120,7 @@ bool NoExceptMove::TraverseCXXMethodDecl(CXXMethodDecl* methodDecl)
{
StringRef fn = getFileNameOfSpellingLoc(
compiler.getSourceManager().getSpellingLoc(compat::getBeginLoc(methodDecl)));
- // SfxObjectShellLock::operator= calls SotObject::OwnerLock whichs in turn calls stuff which cannot be noexcept
+ // SfxObjectShellLock::operator= calls SotObject::OwnerLock which in turn calls stuff which cannot be noexcept
if (loplugin::isSamePathname(fn, SRCDIR "/include/sfx2/objsh.hxx"))
isMove = false;
}
@@ -178,7 +178,7 @@ bool NoExceptMove::VisitCallExpr(const CallExpr* callExpr)
callExpr->dump();
if (callExpr->getCalleeDecl())
callExpr->getCalleeDecl()->dump();
- report(DiagnosticsEngine::Warning, "whats up doc?", callExpr->getSourceRange().getBegin())
+ report(DiagnosticsEngine::Warning, "what's up doc?", callExpr->getSourceRange().getBegin())
<< callExpr->getSourceRange();
m_ConstructorThrows.back() = true;
return true;
More information about the Libreoffice-commits
mailing list