From f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 22 Nov 2018 19:57:38 +0100 Subject: Bump compiler plugins Clang baseline to 5.0.2 ...as discussed at "minutes of ESC call ..." Change-Id: Ia053da171d59747984546f38e19da808825b4f79 Reviewed-on: https://gerrit.libreoffice.org/63832 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/countusersofdefaultparams.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compilerplugins/clang/countusersofdefaultparams.cxx') diff --git a/compilerplugins/clang/countusersofdefaultparams.cxx b/compilerplugins/clang/countusersofdefaultparams.cxx index 12057dec9264..0f434689a6c2 100644 --- a/compilerplugins/clang/countusersofdefaultparams.cxx +++ b/compilerplugins/clang/countusersofdefaultparams.cxx @@ -114,7 +114,7 @@ void CountUsersOfDefaultParams::niceName(const FunctionDecl* functionDecl, MyFun } aInfo.nameAndParams += functionDecl->getNameAsString() + "("; bool bFirst = true; - for (const ParmVarDecl *pParmVarDecl : compat::parameters(*functionDecl)) { + for (const ParmVarDecl *pParmVarDecl : functionDecl->parameters()) { if (bFirst) bFirst = false; else -- cgit