1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
7 * This file is distributed under the University of Illinois Open Source
8 * License. See LICENSE.TXT for details.
19 // The same like for Tutorial1.
21 : public FilteringPlugin
< Tutorial2
>
24 Tutorial2( const InstantiationData
& data
);
25 virtual void run() override
;
26 // Will be called for every if statement.
27 bool VisitIfStmt( const IfStmt
* ifstmt
);
29 // Helper function to check if the statement is 'return false;'.
30 bool isReturnFalse( const Stmt
* stmt
);
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */