summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 23:17:53 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-06 09:15:58 +0200
commit22ef2a15bb5cae4b877449237bb8d3e41f2d49db (patch)
tree170b77935be16e2d4bdb8fd72e0fa576d4f68ea0 /compilerplugins
parentc12c84e6d8f26b7c7dfd4d0daa642879b435d2c6 (diff)
Fixing "...."
Change-Id: Id005a7531d546dd43de13b49bcb3e93081c5ad8d Reviewed-on: https://gerrit.libreoffice.org/78679 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/store/constantfunction.cxx2
-rw-r--r--compilerplugins/clang/unusedfields.cxx2
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx2
-rw-r--r--compilerplugins/clang/writeonlyvars.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/compilerplugins/clang/store/constantfunction.cxx b/compilerplugins/clang/store/constantfunction.cxx
index 0673df7a2521..982482fb4ce0 100644
--- a/compilerplugins/clang/store/constantfunction.cxx
+++ b/compilerplugins/clang/store/constantfunction.cxx
@@ -84,7 +84,7 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if (aFileName.startswith(SRCDIR "/basegfx/test/")) {
return true;
}
- // bridges has some weird stuff in it....
+ // bridges has some weird stuff in it...
if (aFileName.startswith(SRCDIR "/bridges/")) {
return true;
}
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index f08cc843788b..c9df58e427a2 100644
--- a/compilerplugins/clang/unusedfields.cxx
+++ b/compilerplugins/clang/unusedfields.cxx
@@ -733,7 +733,7 @@ void UnusedFields::checkIfWrittenTo(const FieldDecl* fieldDecl, const Expr* memb
// if we're inside a block that looks like
// if (fieldDecl)
- // ....
+ // ...
// then writes to this field don't matter, because unless we find another write to this field, this field is dead
if (std::find(insideConditionalCheckOfMemberSet.begin(), insideConditionalCheckOfMemberSet.end(), fieldDecl) != insideConditionalCheckOfMemberSet.end())
return;
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index cdf7b07e4751..9caab06341a0 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -352,7 +352,7 @@ void UseUniquePtr::CheckDeleteLocalVar(const FunctionDecl* functionDecl, const C
if (fn == SRCDIR "/vcl/unx/gtk3/gtk3gtkdata.cxx"
|| fn == SRCDIR "/vcl/unx/gtk/gtkdata.cxx")
return;
- // sometimes this stuff is held by tools::SvRef, sometimes by std::unique_ptr .....
+ // sometimes this stuff is held by tools::SvRef, sometimes by std::unique_ptr...
if (fn == SRCDIR "/sot/source/unoolestorage/xolesimplestorage.cxx")
return;
// don't feel like messing with this chunk of sfx2
diff --git a/compilerplugins/clang/writeonlyvars.cxx b/compilerplugins/clang/writeonlyvars.cxx
index 95d6ac3ad0a2..d9daa172820d 100644
--- a/compilerplugins/clang/writeonlyvars.cxx
+++ b/compilerplugins/clang/writeonlyvars.cxx
@@ -796,7 +796,7 @@ void WriteOnlyVars::checkIfWrittenTo(const VarDecl* varDecl, const Expr* memberE
{
// if we're inside a block that looks like
// if (varDecl)
- // ....
+ // ...
// then writes to this var don't matter, because unless we find another write to this var, this var is dead
if (std::find(insideConditionalCheckOfMemberSet.begin(),
insideConditionalCheckOfMemberSet.end(), varDecl)