summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 09:57:54 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 09:57:54 +0000
commit9abde7e286c118fd70119e3927cac5799e71e483 (patch)
tree87f90d5618e7f29a2980b64714509262c3ad44b1
parent3d9d929e42028c353b0579a1a925391319664a60 (diff)
downloadbcm5719-llvm-9abde7e286c118fd70119e3927cac5799e71e483.tar.gz
bcm5719-llvm-9abde7e286c118fd70119e3927cac5799e71e483.zip
Fixed/added namespace ending comments using clang-tidy. NFC
A few more files that were fixed while preparing r240270. llvm-svn: 240271
-rw-r--r--llvm/include/llvm/ADT/ImmutableList.h2
-rw-r--r--llvm/include/llvm/ADT/PackedVector.h2
-rw-r--r--llvm/include/llvm/LinkAllPasses.h2
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/ADT/ImmutableList.h b/llvm/include/llvm/ADT/ImmutableList.h
index 748d3e4bf9f..eaac3af2e9a 100644
--- a/llvm/include/llvm/ADT/ImmutableList.h
+++ b/llvm/include/llvm/ADT/ImmutableList.h
@@ -224,6 +224,6 @@ template <typename T> struct isPodLike;
template <typename T>
struct isPodLike<ImmutableList<T> > { static const bool value = true; };
-} // end llvm namespace
+} // namespace llvm
#endif
diff --git a/llvm/include/llvm/ADT/PackedVector.h b/llvm/include/llvm/ADT/PackedVector.h
index 1ae2a77e7ea..17beb808b83 100644
--- a/llvm/include/llvm/ADT/PackedVector.h
+++ b/llvm/include/llvm/ADT/PackedVector.h
@@ -154,6 +154,6 @@ public:
template <typename T>
class PackedVector<T, 0>;
-} // end llvm namespace
+} // namespace llvm
#endif
diff --git a/llvm/include/llvm/LinkAllPasses.h b/llvm/include/llvm/LinkAllPasses.h
index 8ac1b212ae5..633e44216f6 100644
--- a/llvm/include/llvm/LinkAllPasses.h
+++ b/llvm/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/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
index 3c7eee81b1d..2582f206df9 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
+++ b/llvm/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 <typename T>
inline void GTestStreamToHelper(std::ostream* os, const T& val) {
llvm::convertible_fwd_ostream cos(*os);
OpenPOWER on IntegriCloud