From b7c46b5fc9fd16b8bc4058e88074b4fb55665f74 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Tue, 23 Jun 2015 10:48:35 +0000 Subject: [PATCH] Revert r240271 (Fixed/added namespace ending comments using clang-tidy. NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240393 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/ImmutableList.h | 2 +- include/llvm/ADT/PackedVector.h | 2 +- include/llvm/LinkAllPasses.h | 2 +- .../unittest/googletest/include/gtest/internal/gtest-internal.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/ADT/ImmutableList.h b/include/llvm/ADT/ImmutableList.h index eaac3af2e9a..748d3e4bf9f 100644 --- a/include/llvm/ADT/ImmutableList.h +++ b/include/llvm/ADT/ImmutableList.h @@ -224,6 +224,6 @@ template struct isPodLike; template struct isPodLike > { static const bool value = true; }; -} // namespace llvm +} // end llvm namespace #endif diff --git a/include/llvm/ADT/PackedVector.h b/include/llvm/ADT/PackedVector.h index 17beb808b83..1ae2a77e7ea 100644 --- a/include/llvm/ADT/PackedVector.h +++ b/include/llvm/ADT/PackedVector.h @@ -154,6 +154,6 @@ public: template class PackedVector; -} // namespace llvm +} // end llvm namespace #endif diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index 633e44216f6..8ac1b212ae5 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -188,6 +188,6 @@ namespace { (void) llvm::sys::RunningOnValgrind(); } } ForcePassLinking; // Force link by creating a global definition. -} // namespace +} #endif diff --git a/utils/unittest/googletest/include/gtest/internal/gtest-internal.h b/utils/unittest/googletest/include/gtest/internal/gtest-internal.h index 2582f206df9..3c7eee81b1d 100644 --- a/utils/unittest/googletest/include/gtest/internal/gtest-internal.h +++ b/utils/unittest/googletest/include/gtest/internal/gtest-internal.h @@ -113,7 +113,7 @@ public: : std::ostream(os.rdbuf()), ros_(*this) {} operator raw_ostream&() { return ros_; } }; -} // namespace llvm +} template inline void GTestStreamToHelper(std::ostream* os, const T& val) { llvm::convertible_fwd_ostream cos(*os); -- 2.34.1