From: Simon Pilgrim Date: Wed, 23 Sep 2020 14:54:50 +0000 (+0100) Subject: Add missing namespace closure comments. NFCI. X-Git-Tag: llvmorg-13-init~11168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91589cf679c7946edfb5b33d1eb94d723ad99e2b;p=platform%2Fupstream%2Fllvm.git Add missing namespace closure comments. NFCI. Fixes some clang-tidy llvm-namespace-comment warnings. --- diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp index 10b608d..495493a 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp @@ -93,7 +93,7 @@ bool isSaturating(AtomicRMWInst& RMWI) { return C->isMaxValue(false); }; } -} +} // namespace Instruction *InstCombinerImpl::visitAtomicRMWInst(AtomicRMWInst &RMWI) { diff --git a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp index 539a1f1..d687ec6 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp @@ -1013,7 +1013,7 @@ struct LoweredPHIRecord { LoweredPHIRecord(PHINode *pn, unsigned Sh) : PN(pn), Shift(Sh), Width(0) {} }; -} +} // namespace namespace llvm { template<> @@ -1034,7 +1034,7 @@ namespace llvm { LHS.Width == RHS.Width; } }; -} +} // namespace llvm /// This is an integer PHI and we know that it has an illegal type: see if it is