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;
21 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
22 const NSAPI &NS, Commit &commit);
24 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
25 const NSAPI &NS, Commit &commit,
26 const ParentMap *PMap);
28 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
29 const NSAPI &NS, Commit &commit);
33 } // end namespace clang