Bug 364731

Summary: Build with trunk LLVM/Clang is broken
Product: [Developer tools] clazy Reporter: Eugene Zelenko <eugene.zelenko>
Component: generalAssignee: Sergio Martins <smartins>
Status: RESOLVED FIXED    
Severity: normal CC: smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eugene Zelenko 2016-06-25 00:19:36 UTC
clang::FunctionDecl interface was changed in r273647, so params() looks to be renamed to parameters().

I think will be good idea to create wrapper class to avoid large number of preprocessor's conditional statements in multiple files.
Comment 1 Sergio Martins 2016-06-25 12:18:37 UTC
Git commit 588ef94472a185b6abc1a4bb5edbf1559ab6cff9 by Sergio Martins.
Committed on 25/06/2016 at 12:14.
Pushed by smartins into branch 'master'.

Fix build with clang 3.9

FunctionDecl::params() change signature

M  +2    -1    MethodSignatureUtils.h
M  +1    -1    StringUtils.cpp
M  +1    -1    StringUtils.h
M  +12   -0    Utils.cpp
M  +13   -0    Utils.h
M  +1    -1    checks/hiddenlevel/qt4-qstring-from-array.cpp
M  +1    -1    checks/level2/function-args-by-ref.cpp
M  +1    -1    checks/level2/function-args-by-value.cpp
M  +1    -1    checks/level2/implicitcasts.cpp
M  +1    -1    checks/level2/oldstyleconnect.cpp
M  +2    -2    checks/requiredresults.cpp

http://commits.kde.org/clazy/588ef94472a185b6abc1a4bb5edbf1559ab6cff9