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.
12 #ifndef REMOVEFORWARDSTRINGDECL_H
13 #define REMOVEFORWARDSTRINGDECL_H
20 class RemoveForwardStringDecl
21 : public RecursiveASTVisitor
< RemoveForwardStringDecl
>
22 , public RewritePlugin
25 explicit RemoveForwardStringDecl( CompilerInstance
& compiler
, Rewriter
& rewriter
);
26 virtual void run() override
;
27 bool VisitNamespaceDecl( const NamespaceDecl
* declaration
);
29 bool tryRemoveStringForwardDecl( const Decl
* decl
);
34 #endif // REMOVEFORWARDSTRINGDECL_H
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */