summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-29 13:05:45 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-29 13:26:15 +0100
commitc101df217121043e578695aef05d940e5fe018b9 (patch)
treef26d1920df3cd47bf58e2655d6d6216c34ed8030 /compilerplugins
parent8f9941d5edcc834d53df0e2bf36231a1bae67ddc (diff)
Fix typos
Change-Id: Iedd82d035454c940d76a94c7e910c81827c1389c Reviewed-on: https://gerrit.libreoffice.org/48828 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/stringconstant.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx
index 8eb482accc91..0555b20af24a 100644
--- a/compilerplugins/clang/stringconstant.cxx
+++ b/compilerplugins/clang/stringconstant.cxx
@@ -1029,7 +1029,7 @@ bool StringConstant::VisitCXXConstructExpr(CXXConstructExpr const * expr) {
{
report(
DiagnosticsEngine::Warning,
- ("call of '%0' with suspicous construction"
+ ("call of '%0' with suspicious construction"
" of %1 with empty string constant"
" argument"),
getMemberLocation(call))
@@ -1510,7 +1510,7 @@ void StringConstant::reportChange(
{
report(
DiagnosticsEngine::Warning,
- ("call of '%0' with suspicous call of %1 with"
+ ("call of '%0' with suspicious call of %1 with"
" empty string constant argument"),
getMemberLocation(call))
<< fdecl->getQualifiedNameAsString() << original
@@ -1643,7 +1643,7 @@ void StringConstant::checkEmpty(
case TreatEmpty::Error:
report(
DiagnosticsEngine::Warning,
- "call of '%0' with suspicous empty string constant argument",
+ "call of '%0' with suspicious empty string constant argument",
getMemberLocation(expr))
<< callee->getQualifiedNameAsString() << expr->getSourceRange();
break;