bump product version to 5.0.4.1
[LibreOffice.git] / compilerplugins / clang / store / cascadingcondop.hxx
blob8d41177ec051c2c92a73c2a01e5aa29ea816ebcd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * Based on LLVM/Clang.
7 * This file is distributed under the University of Illinois Open Source
8 * License. See LICENSE.TXT for details.
12 #ifndef CASCADINGCONDOP_H
13 #define CASCADINGCONDOP_H
15 #include "plugin.hxx"
17 namespace loplugin
20 struct WalkCounter;
22 // The class implementing the plugin action.
23 class CascadingCondOp
24 // Inherits from the Clang class that will allow examing the Clang AST tree (i.e. syntax tree).
25 : public RecursiveASTVisitor< CascadingCondOp >
26 // And the base class for LO Clang plugins.
27 , public Plugin
29 public:
30 CascadingCondOp( const InstantiationData& data );
31 virtual void run() override;
32 void Walk( const Stmt* stmt, WalkCounter& c );
33 bool VisitStmt( const Stmt* stmt );
36 } // namespace loplugin
38 #endif // CASCADINGCONDOP_H
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */