summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/passstuffbyref.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 17:56:40 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 07:42:39 +0000
commit6fab286b2a213575e3b1ccd0eddb00c8b242af00 (patch)
tree390e09b20192f829524e9975ba4b36ca47cb2975 /compilerplugins/clang/passstuffbyref.cxx
parentba48819e9f01466b4048528f5aded766a5f11e8a (diff)
Fix typos
Change-Id: I4f16ba5fc32cbfd6a5b01e495f3ad905da193524 Reviewed-on: https://gerrit.libreoffice.org/34808 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/passstuffbyref.cxx')
-rw-r--r--compilerplugins/clang/passstuffbyref.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx
index 8bbea52fc790..37dcb4e47704 100644
--- a/compilerplugins/clang/passstuffbyref.cxx
+++ b/compilerplugins/clang/passstuffbyref.cxx
@@ -141,7 +141,7 @@ bool PassStuffByRef::VisitFunctionDecl(const FunctionDecl * functionDecl) {
{
return true;
}
- // only consider base declarations, not overriden ones, or we warn on methods that
+ // only consider base declarations, not overridden ones, or we warn on methods that
// are overriding stuff from external libraries
const CXXMethodDecl * methodDecl = dyn_cast<CXXMethodDecl>(functionDecl);
if (methodDecl && methodDecl->size_overridden_methods() > 0) {