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