Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
$ tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
work/llvm/tools/clang
To reduce churn, not touching namespaces spanning less than 10 lines.
llvm-svn: 240270
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index e77c124..41a826c 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -685,7 +685,7 @@
}
};
-}
+} // namespace
/// Rewrite input constraint references after adding some output constraints.
/// In the case where there is one output and one input and we add one output,
@@ -1750,7 +1750,7 @@
addStackProbeSizeTargetAttribute(D, GV, CGM);
}
-}
+} // namespace
void X86_64ABIInfo::postMerge(unsigned AggregateSize, Class &Lo,
Class &Hi) const {
@@ -3151,7 +3151,7 @@
}
};
-}
+} // namespace
llvm::Value *PPC32_SVR4_ABIInfo::EmitVAArg(llvm::Value *VAListAddr,
QualType Ty,
@@ -3431,7 +3431,7 @@
}
};
-}
+} // namespace
// Return true if the ABI requires Ty to be passed sign- or zero-
// extended to 64 bits.
@@ -3977,7 +3977,7 @@
bool doesReturnSlotInterfereWithArgs() const override { return false; }
};
-}
+} // namespace
ABIArgInfo AArch64ABIInfo::classifyArgumentType(QualType Ty) const {
Ty = useFirstFieldIfTransparentUnion(Ty);
@@ -4605,7 +4605,7 @@
ARMTargetCodeGenInfo::setTargetAttributes(D, GV, CGM);
addStackProbeSizeTargetAttribute(D, GV, CGM);
}
-}
+} // namespace
void ARMABIInfo::computeInfo(CGFunctionInfo &FI) const {
if (!getCXXABI().classifyReturnType(FI))
@@ -5179,7 +5179,7 @@
// Append metadata to nvvm.annotations
MD->addOperand(llvm::MDNode::get(Ctx, MDVals));
}
-}
+} // namespace
//===----------------------------------------------------------------------===//
// SystemZ ABI Implementation
@@ -5220,7 +5220,7 @@
: TargetCodeGenInfo(new SystemZABIInfo(CGT, HasVector)) {}
};
-}
+} // namespace
bool SystemZABIInfo::isPromotableIntegerType(QualType Ty) const {
// Treat an enum type as its underlying type.
@@ -5530,7 +5530,7 @@
CodeGen::CodeGenModule &M) const override;
};
-}
+} // namespace
void MSP430TargetCodeGenInfo::setTargetAttributes(const Decl *D,
llvm::GlobalValue *GV,
@@ -5612,7 +5612,7 @@
return SizeOfUnwindException;
}
};
-}
+} // namespace
void MipsABIInfo::CoerceToIntArgs(
uint64_t TySize, SmallVectorImpl<llvm::Type *> &ArgList) const {
@@ -5979,7 +5979,7 @@
}
}
-}
+} // namespace
//===----------------------------------------------------------------------===//
// Hexagon ABI Implementation
@@ -6014,7 +6014,7 @@
}
};
-}
+} // namespace
void HexagonABIInfo::computeInfo(CGFunctionInfo &FI) const {
if (!getCXXABI().classifyReturnType(FI))
@@ -6128,7 +6128,7 @@
CodeGen::CodeGenModule &M) const override;
};
-}
+} // namespace
void AMDGPUTargetCodeGenInfo::setTargetAttributes(
const Decl *D,