summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/noexceptmove.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-30 17:17:48 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-30 17:19:34 +0200
commit4b4b1689dbecb087912124497c88347735a3ca54 (patch)
treeec2d28a8a554b583eb30c7a7bb372ef013381ba8 /compilerplugins/clang/noexceptmove.cxx
parentff158502e14fab264b5cd544a7a8f550626c95db (diff)
Fix typos
Change-Id: I965ade27bdbd5d1f0e6cc902c1f01fa905e668f2 Reviewed-on: https://gerrit.libreoffice.org/78305 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'compilerplugins/clang/noexceptmove.cxx')
-rw-r--r--compilerplugins/clang/noexceptmove.cxx4
1 files changed, 2 insertions, 2 deletions
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;