diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-23 15:54:50 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-23 16:19:25 +0100 |
commit | 91589cf679c7946edfb5b33d1eb94d723ad99e2b (patch) | |
tree | d634ddabef3a8e25c2f1c6de5c5b38050143ccf2 /llvm/lib/Transforms | |
parent | 474dc33d075ae6b136bcaa4e4c5014d3deda5d25 (diff) | |
download | llvm-91589cf679c7946edfb5b33d1eb94d723ad99e2b.zip llvm-91589cf679c7946edfb5b33d1eb94d723ad99e2b.tar.gz llvm-91589cf679c7946edfb5b33d1eb94d723ad99e2b.tar.bz2 |
Add missing namespace closure comments. NFCI.
Fixes some clang-tidy llvm-namespace-comment warnings.
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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..d687ec65 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 |