1 //===--- Rewriters.h - Rewritings ---------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_EDIT_REWRITERS_H
11 #define LLVM_CLANG_EDIT_REWRITERS_H
14 class ObjCMessageExpr;
16 class ObjCInterfaceDecl;
17 class ObjCProtocolDecl;
26 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
27 const NSAPI &NS, Commit &commit);
29 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
30 const NSAPI &NS, Commit &commit,
31 const ParentMap *PMap);
33 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
34 const NSAPI &NS, Commit &commit);
38 } // end namespace clang