Fix build on LLVM < 8
ClosedPublic

Authored by christianschaerf on Apr 2 2020, 7:24 PM.

Details

Reviewers
smartins
Summary

The newly created overloaded-signals check uses the clang::Decl::getBeginLoc method, which was renamed from getLocStart in LLVM 8.
This patch changes this to use clazy::getLocStart, which dispatches between these methods depending on the LLVM version.

Diff Detail

Repository
R74 Clazy
Lint
Lint Skipped
Unit
Unit Tests Skipped
christianschaerf requested review of this revision.Apr 2 2020, 7:24 PM
christianschaerf created this revision.
smartins accepted this revision.Apr 13 2020, 10:43 AM

thanks, please push to 1.6 branch

This revision is now accepted and ready to land.Apr 13 2020, 10:43 AM

thanks, please push to 1.6 branch

The overloaded-signal check is not present in 1.6, it was added afterwards

smartins closed this revision.Apr 19 2020, 8:18 PM

pushed, please close