filter out AST in more plugins
I seem to have missed quite a few in
commit 9f4d23c151
filter out some of the AST in the plugins
This nets me another 14% improvement
Change-Id: I39b980b49ced560f768045dbedd3ddfef29306c1
Reviewed-on: https://gerrit.libreoffice.org/59501
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
namespace {
|
||||
|
||||
class FragileDestructor:
|
||||
public RecursiveASTVisitor<FragileDestructor>, public loplugin::Plugin
|
||||
public loplugin::FilteringPlugin<FragileDestructor>
|
||||
{
|
||||
public:
|
||||
explicit FragileDestructor(loplugin::InstantiationData const & data):
|
||||
Plugin(data) {}
|
||||
FilteringPlugin(data) {}
|
||||
|
||||
virtual void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user