File indexing completed on 2026-05-10 08:36:53
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_CLANG_EDIT_REWRITERS_H
0010 #define LLVM_CLANG_EDIT_REWRITERS_H
0011
0012 namespace clang {
0013 class ObjCMessageExpr;
0014 class ObjCMethodDecl;
0015 class ObjCInterfaceDecl;
0016 class ObjCProtocolDecl;
0017 class NSAPI;
0018 class EnumDecl;
0019 class TypedefDecl;
0020 class ParentMap;
0021
0022 namespace edit {
0023 class Commit;
0024
0025 bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
0026 const NSAPI &NS, Commit &commit);
0027
0028 bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
0029 const NSAPI &NS, Commit &commit,
0030 const ParentMap *PMap);
0031
0032 bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
0033 const NSAPI &NS, Commit &commit);
0034
0035 }
0036
0037 }
0038
0039 #endif