From 6907ce2f8f7410b179beb6e2db9c8d16a257ce9f Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 30 Jul 2018 19:24:48 +0000 Subject: Remove trailing space sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h} llvm-svn: 338291 --- clang/lib/ARCMigrate/TransGCAttrs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/lib/ARCMigrate/TransGCAttrs.cpp') diff --git a/clang/lib/ARCMigrate/TransGCAttrs.cpp b/clang/lib/ARCMigrate/TransGCAttrs.cpp index 4fd21aa6c26..fb45cd92c1f 100644 --- a/clang/lib/ARCMigrate/TransGCAttrs.cpp +++ b/clang/lib/ARCMigrate/TransGCAttrs.cpp @@ -48,7 +48,7 @@ public: return true; SaveAndRestore Save(FullyMigratable, isMigratable(D)); - + if (ObjCPropertyDecl *PropD = dyn_cast(D)) { lookForAttribute(PropD, PropD->getTypeSourceInfo()); AllProps.push_back(PropD); @@ -107,7 +107,7 @@ public: Kind = MigrationContext::GCAttrOccurrence::Weak; else return false; - + MigrateCtx.AttrSet.insert(RawLoc); MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence()); MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); @@ -164,7 +164,7 @@ public: for (auto I : D->redecls()) if (!isInMainFile(I->getLocation())) return false; - + return true; } -- cgit v1.2.3