diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-27 10:00:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-27 12:08:52 +0000 |
commit | 3468dab9ff02ecdf5d0806a00e15b9b579c8dc35 (patch) | |
tree | da1d37473e9d477ff814f1775c145e6e1a65f442 /compilerplugins/clang/countusersofdefaultparams.cxx | |
parent | 7c3cb23136229c748984b49847af6f729ce3e6ba (diff) |
clang plugins: do "dotdot" normalisation
which fixes some false positives
Change-Id: I555349180b5ca819f29695789f1545ba2177bd09
Reviewed-on: https://gerrit.libreoffice.org/29320
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/countusersofdefaultparams.cxx')
-rw-r--r-- | compilerplugins/clang/countusersofdefaultparams.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/countusersofdefaultparams.cxx b/compilerplugins/clang/countusersofdefaultparams.cxx index a425cfcb89cc..b6323d054bd0 100644 --- a/compilerplugins/clang/countusersofdefaultparams.cxx +++ b/compilerplugins/clang/countusersofdefaultparams.cxx @@ -130,6 +130,7 @@ void CountUsersOfDefaultParams::niceName(const FunctionDecl* functionDecl, MyFun } aInfo.sourceLocation = locationToString(functionDecl->getLocation()); + normalizeDotDotInFilePath(aInfo.sourceLocation); } bool CountUsersOfDefaultParams::VisitCallExpr(const CallExpr * callExpr) { |