#include "Transforms.h"
#include "Internals.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/Support/SaveAndRestore.h"
usingnamespaceclang;
usingnamespacearcmt;
usingnamespacetrans;
namespace {
class GCAttrsCollector : public RecursiveASTVisitor<GCAttrsCollector> { … };
}
static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { … }
static void checkWeakGCAttrs(MigrationContext &MigrateCtx) { … }
IndivPropsTy;
static void checkAllAtProps(MigrationContext &MigrateCtx,
SourceLocation AtLoc,
IndivPropsTy &IndProps) { … }
static void checkAllProps(MigrationContext &MigrateCtx,
std::vector<ObjCPropertyDecl *> &AllProps) { … }
void GCAttrsTraverser::traverseTU(MigrationContext &MigrateCtx) { … }
void MigrationContext::dumpGCAttrs() { … }