1 //===--- Rewriters.h - Rewritings ---------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_EDIT_REWRITERS_H
10 #define LLVM_CLANG_EDIT_REWRITERS_H
13 class ObjCMessageExpr;
15 class ObjCInterfaceDecl;
16 class ObjCProtocolDecl;
25 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
26 const NSAPI &NS, Commit &commit);
28 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
29 const NSAPI &NS, Commit &commit,
30 const ParentMap *PMap);
32 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
33 const NSAPI &NS, Commit &commit);
37 } // end namespace clang