Bump compiler plugins Clang baseline to 5.0.2
...as discussed at <https://lists.freedesktop.org/archives/libreoffice/2018-November/081435.html> "minutes of ESC call ..." Change-Id: Ia053da171d59747984546f38e19da808825b4f79 Reviewed-on: https://gerrit.libreoffice.org/63832 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <set>
|
||||
|
||||
#include "plugin.hxx"
|
||||
#include "compat.hxx"
|
||||
#include "check.hxx"
|
||||
|
||||
/*
|
||||
@@ -76,7 +75,7 @@ bool OverrideParam::VisitCXXMethodDecl(const CXXMethodDecl * methodDecl) {
|
||||
continue;
|
||||
}
|
||||
int i = 0;
|
||||
for (const ParmVarDecl *superParmVarDecl : compat::parameters(*superMethodDecl)) {
|
||||
for (const ParmVarDecl *superParmVarDecl : superMethodDecl->parameters()) {
|
||||
const ParmVarDecl *parmVarDecl = methodDecl->getParamDecl(i);
|
||||
if (parmVarDecl->hasDefaultArg() && !superParmVarDecl->hasDefaultArg()) {
|
||||
report(
|
||||
|
Reference in New Issue
Block a user