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;
20 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
21 const NSAPI &NS, Commit &commit);
23 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
24 const NSAPI &NS, Commit &commit);
26 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
27 const NSAPI &NS, Commit &commit);
31 } // end namespace clang