summaryrefslogtreecommitdiffstats
path: root/lib/ARCMigrate
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
commit8ca7705aa3e5a2e0f39d00aaa170827369ec9784 (patch)
tree2a33ddff0e4b77ce71382ca30a2f6ed5875a4cff /lib/ARCMigrate
parent4dcc0f7da78882b0946f6f46ec6397dd566b4e72 (diff)
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate')
-rw-r--r--lib/ARCMigrate/ObjCMT.cpp10
-rw-r--r--lib/ARCMigrate/TransAutoreleasePool.cpp2
-rw-r--r--lib/ARCMigrate/Transforms.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/ARCMigrate/ObjCMT.cpp b/lib/ARCMigrate/ObjCMT.cpp
index 81d1a283f0..8c2e0f4de8 100644
--- a/lib/ARCMigrate/ObjCMT.cpp
+++ b/lib/ARCMigrate/ObjCMT.cpp
@@ -177,7 +177,7 @@ protected:
}
};
-} // namespace
+}
ObjCMigrateAction::ObjCMigrateAction(FrontendAction *WrappedAction,
StringRef migrateDir,
@@ -379,7 +379,7 @@ public:
return true;
}
};
-} // namespace
+}
void ObjCMigrateASTConsumer::migrateDecl(Decl *D) {
if (!D)
@@ -1853,7 +1853,7 @@ private:
}
};
-} // namespace
+}
void ObjCMigrateASTConsumer::HandleTranslationUnit(ASTContext &Ctx) {
@@ -2084,7 +2084,7 @@ template<> struct DenseMapInfo<EditEntry> {
LHS.Text == RHS.Text;
}
};
-} // namespace llvm
+}
namespace {
class RemapFileParser {
@@ -2166,7 +2166,7 @@ private:
Entries.push_back(Entry);
}
};
-} // namespace
+}
static bool reportDiag(const Twine &Err, DiagnosticsEngine &Diag) {
Diag.Report(Diag.getCustomDiagID(DiagnosticsEngine::Error, "%0"))
diff --git a/lib/ARCMigrate/TransAutoreleasePool.cpp b/lib/ARCMigrate/TransAutoreleasePool.cpp
index 8e944110af..a8a99fa712 100644
--- a/lib/ARCMigrate/TransAutoreleasePool.cpp
+++ b/lib/ARCMigrate/TransAutoreleasePool.cpp
@@ -62,7 +62,7 @@ public:
}
};
-} // namespace
+}
namespace {
diff --git a/lib/ARCMigrate/Transforms.cpp b/lib/ARCMigrate/Transforms.cpp
index dfae3f5cba..56d3af7233 100644
--- a/lib/ARCMigrate/Transforms.cpp
+++ b/lib/ARCMigrate/Transforms.cpp
@@ -355,7 +355,7 @@ public:
}
};
-} // namespace
+}
MigrationContext::~MigrationContext() {
for (traverser_iterator