Rewriters.h revision 30660a898545416f0fea2d717f16f75640001e38
1//===--- Rewriters.h - Rewritings     ---------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_CLANG_EDIT_REWRITERS_H
11#define LLVM_CLANG_EDIT_REWRITERS_H
12
13namespace clang {
14  class ObjCMessageExpr;
15  class NSAPI;
16
17namespace edit {
18  class Commit;
19
20bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
21                                         const NSAPI &NS, Commit &commit);
22
23bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
24                                const NSAPI &NS, Commit &commit);
25
26bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
27                                  const NSAPI &NS, Commit &commit);
28
29}
30
31}  // end namespace clang
32
33#endif
34