From 25bf7721bc5a5f8f63520ac13210a77b4ff99268 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 22 Jun 2015 09:57:54 +0000 Subject: [PATCH] Fixed/added namespace ending comments using clang-tidy. NFC A few more files that were fixed while preparing r240270. llvm-svn: 240271 --- 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 748d3e4bf9f..eaac3af2e9a 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; }; -} // end llvm namespace +} // namespace llvm #endif diff --git a/include/llvm/ADT/PackedVector.h b/include/llvm/ADT/PackedVector.h index 1ae2a77e7ea..17beb808b83 100644 --- a/include/llvm/ADT/PackedVector.h +++ b/include/llvm/ADT/PackedVector.h @@ -154,6 +154,6 @@ public: template class PackedVector; -} // end llvm namespace +} // namespace llvm #endif diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index 8ac1b212ae5..633e44216f6 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 3c7eee81b1d..2582f206df9 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);