summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/overrideparam.cxx2
-rw-r--r--compilerplugins/clang/passstuffbyref.cxx2
-rw-r--r--compilerplugins/clang/refcounting.cxx2
-rwxr-xr-xcompilerplugins/clang/unusedmethods.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/compilerplugins/clang/overrideparam.cxx b/compilerplugins/clang/overrideparam.cxx
index 3febe4d5686a..28e57393d6dc 100644
--- a/compilerplugins/clang/overrideparam.cxx
+++ b/compilerplugins/clang/overrideparam.cxx
@@ -15,7 +15,7 @@
#include "check.hxx"
/*
- Find overriden methods that :
+ Find overridden methods that :
(a) declare default params in different palces to their super-method(s)
Still TODO
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) {
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index ab3462480ed8..7db90ed5b01a 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -474,7 +474,7 @@ bool RefCounting::VisitFunctionDecl(const FunctionDecl * functionDecl) {
if (ignoreLocation(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) {
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py
index 53cc93495555..c164b6ee62db 100755
--- a/compilerplugins/clang/unusedmethods.py
+++ b/compilerplugins/clang/unusedmethods.py
@@ -197,7 +197,7 @@ for d in definitionSet:
continue
if isOtherConstness(d, callSet):
continue
- # include assigment operators, if we remove them, the compiler creates a default one, which can have odd consequences
+ # include assignment operators, if we remove them, the compiler creates a default one, which can have odd consequences
if "::operator=(" in d[1]:
continue
# these are only invoked implicitly, so the plugin does not see the calls