Bug 364731 - Build with trunk LLVM/Clang is broken
Summary: Build with trunk LLVM/Clang is broken
Status: RESOLVED FIXED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-25 00:19 UTC by Eugene Zelenko
Modified: 2016-06-25 12:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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