diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-06-19 15:57:42 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-06-19 15:57:42 +0000 |
commit | 70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5 (patch) | |
tree | dd9eee8a6b672d414ae91873338be655edc1f54e /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | 55112defb087fc45b6cc1ae724d8ac04cf10b589 (diff) | |
download | llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.zip llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.gz llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.bz2 |
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
llvm/lib/
Thanks to Eugene Kosov for the original patch!
llvm-svn: 240137
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index 1e20807..d3d2fcd 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()); |