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 examing the Clang AST tree (i.e. syntax tree).
23 : public RecursiveASTVisitor
< Tutorial1
>
24 // And the base class for LO Clang plugins.
28 // Ctor, nothing special.
29 Tutorial1( const InstantiationData
& data
);
30 // The function that will be called to perform the actual action.
31 virtual void run() override
;
32 // Function from Clang, it will be called for every return statement in the source.
33 bool VisitReturnStmt( const ReturnStmt
* returnstmt
);
38 #endif // POSTFIXINCREMENTFIX_H
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */