1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #pragma once
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wunused-parameter"
- #endif
- //===--- Rewriters.h - Rewritings ---------------------------*- C++ -*-===//
- //
- // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
- // See https://llvm.org/LICENSE.txt for license information.
- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- //
- //===----------------------------------------------------------------------===//
- #ifndef LLVM_CLANG_EDIT_REWRITERS_H
- #define LLVM_CLANG_EDIT_REWRITERS_H
- namespace clang {
- class ObjCMessageExpr;
- class ObjCMethodDecl;
- class ObjCInterfaceDecl;
- class ObjCProtocolDecl;
- class NSAPI;
- class EnumDecl;
- class TypedefDecl;
- class ParentMap;
- namespace edit {
- class Commit;
- bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg,
- const NSAPI &NS, Commit &commit);
- bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
- const NSAPI &NS, Commit &commit,
- const ParentMap *PMap);
- bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
- const NSAPI &NS, Commit &commit);
- }
- } // end namespace clang
- #endif
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif
|