summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2019-06-13 14:11:09 +0000
committerMichael Liao <michael.hliao@gmail.com>2019-06-13 14:11:09 +0000
commit08a4a0e965614e63cbfbf74e2241903ed703eed6 (patch)
tree0af85601f06d4697364da66cad4fbe028cfc2cec
parent757a2f13fd9717dae432c2c1be9331dc860a8e3a (diff)
downloadbcm5719-llvm-08a4a0e965614e63cbfbf74e2241903ed703eed6.tar.gz
bcm5719-llvm-08a4a0e965614e63cbfbf74e2241903ed703eed6.zip
Fix GCC compiler warning. NFC.
llvm-svn: 363269
-rw-r--r--llvm/include/llvm/IR/DebugInfoMetadata.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/IR/DebugInfoMetadata.h b/llvm/include/llvm/IR/DebugInfoMetadata.h
index 5584c57fc9f..88cefff50c3 100644
--- a/llvm/include/llvm/IR/DebugInfoMetadata.h
+++ b/llvm/include/llvm/IR/DebugInfoMetadata.h
@@ -2561,19 +2561,19 @@ public:
};
inline bool operator==(const DIExpression::FragmentInfo &A,
- const struct DIExpression::FragmentInfo &B) {
+ const DIExpression::FragmentInfo &B) {
return std::tie(A.SizeInBits, A.OffsetInBits) ==
std::tie(B.SizeInBits, B.OffsetInBits);
}
-inline bool operator<(const struct DIExpression::FragmentInfo &A,
- const struct DIExpression::FragmentInfo &B) {
+inline bool operator<(const DIExpression::FragmentInfo &A,
+ const DIExpression::FragmentInfo &B) {
return std::tie(A.SizeInBits, A.OffsetInBits) <
std::tie(B.SizeInBits, B.OffsetInBits);
}
-template <> struct DenseMapInfo<struct DIExpression::FragmentInfo> {
- using FragInfo = struct DIExpression::FragmentInfo;
+template <> struct DenseMapInfo<DIExpression::FragmentInfo> {
+ using FragInfo = DIExpression::FragmentInfo;
static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
static inline FragInfo getEmptyKey() { return {MaxVal, MaxVal}; }
OpenPOWER on IntegriCloud