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>
This commit is contained in:
committed by
Noel Grandin
parent
ba48819e9f
commit
6fab286b2a
@@ -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
|
||||
|
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user