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.
20 // The class implementing the plugin action.
22 // Inherits from the Clang class that will allow examining the Clang AST tree (i.e. syntax tree).
23 : public FilteringPlugin
< Tutorial1
>
26 // Ctor, nothing special.
27 Tutorial1( const InstantiationData
& data
);
28 // The function that will be called to perform the actual action.
29 virtual void run() override
;
30 // Function from Clang, it will be called for every return statement in the source.
31 bool VisitReturnStmt( const ReturnStmt
* returnstmt
);
36 #endif // POSTFIXINCREMENTFIX_H
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */