summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-11 11:01:15 +0200
committerMichael Stahl <mstahl@redhat.com>2017-05-11 16:19:58 +0200
commit28dfcd5da4cfb26d31cce7bf2ad7baa3bee1f350 (patch)
tree6e20bf3ef0a8bcbff1835ca7f7fbc3dba2d3bcde /compilerplugins
parent198f5a16fd4c5bf691a3450bbf16e88c000f9baa (diff)
Fix typos
Change-Id: I204178ed4cf0fd3f43043cf1dfde85bb27002fee Reviewed-on: https://gerrit.libreoffice.org/37498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/checkunusedparams.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/checkunusedparams.cxx b/compilerplugins/clang/checkunusedparams.cxx
index 3fe2d08f7928..f3118e1391f5 100644
--- a/compilerplugins/clang/checkunusedparams.cxx
+++ b/compilerplugins/clang/checkunusedparams.cxx
@@ -127,7 +127,7 @@ bool CheckUnusedParams::VisitFunctionDecl(FunctionDecl const * decl) {
}
FunctionDecl const * canon = decl->getCanonicalDecl();
- std::string fqn = canon->getQualifiedNameAsString(); // becuase sometimes clang returns nonsense for the filename of canon
+ std::string fqn = canon->getQualifiedNameAsString(); // because sometimes clang returns nonsense for the filename of canon
if (ignoreLocation(canon))
return true;
if (isInUnoIncludeFile(compiler.getSourceManager().getSpellingLoc(canon->getLocation())))