Add missing namespace closure comments. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 23 Sep 2020 14:54:50 +0000 (15:54 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 23 Sep 2020 15:19:25 +0000 (16:19 +0100)
Fixes some clang-tidy llvm-namespace-comment warnings.

llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp

index 10b608d..495493a 100644 (file)
@@ -93,7 +93,7 @@ bool isSaturating(AtomicRMWInst& RMWI) {
     return C->isMaxValue(false);
   };
 }
-}
+} // namespace
 
 Instruction *InstCombinerImpl::visitAtomicRMWInst(AtomicRMWInst &RMWI) {
 
index 539a1f1..d687ec6 100644 (file)
@@ -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