aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-23 09:49:53 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-23 09:49:53 +0000
commitf00654e31b984a8021db6444537093121607d8cf (patch)
tree0dc684b2147f965f61d7a28c799a4be8d93bbddb /llvm/lib/IR/LLVMContextImpl.cpp
parentb76cb044f1a982e29015fe21906f35d2d7736c5f (diff)
downloadllvm-f00654e31b984a8021db6444537093121607d8cf.zip
llvm-f00654e31b984a8021db6444537093121607d8cf.tar.gz
llvm-f00654e31b984a8021db6444537093121607d8cf.tar.bz2
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
Apparently, the style needs to be agreed upon first. llvm-svn: 240390
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp
index d3d2fcd..1e20807 100644
--- a/llvm/lib/IR/LLVMContextImpl.cpp
+++ b/llvm/lib/IR/LLVMContextImpl.cpp
@@ -65,7 +65,7 @@ struct DropFirst {
P.first->dropAllReferences();
}
};
-} // namespace
+}
LLVMContextImpl::~LLVMContextImpl() {
// NOTE: We need to delete the contents of OwnedModules, but Module's dtor
@@ -199,7 +199,7 @@ namespace llvm {
/// does not cause MDOperand to be transparent. In particular, a bare pointer
/// doesn't get hashed before it's combined, whereas \a MDOperand would.
static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); }
-} // namespace llvm
+}
unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) {
unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end());