]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/tools/clang/include/clang/Edit/Rewriters.h
MFC r234353:
[FreeBSD/stable/9.git] / contrib / llvm / tools / clang / include / clang / Edit / Rewriters.h
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
13 namespace clang {
14   class ObjCMessageExpr;
15   class NSAPI;
16
17 namespace edit {
18   class Commit;
19
20 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
21                                          const NSAPI &NS, Commit &commit);
22
23 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
24                                 const NSAPI &NS, Commit &commit);
25
26 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
27                                   const NSAPI &NS, Commit &commit);
28
29 }
30
31 }  // end namespace clang
32
33 #endif