[AsmParser] Use default member initialization (NFC)

Identified with modernize-use-default-member-init.
This commit is contained in:
Kazu Hirata 2022-06-18 07:46:03 -07:00
parent 621f58e716
commit 4533e6aab8
1 changed files with 3 additions and 3 deletions

View File

@ -4009,11 +4009,11 @@ struct MDAPSIntField : public MDFieldImpl<APSInt> {
}; };
struct MDSignedField : public MDFieldImpl<int64_t> { struct MDSignedField : public MDFieldImpl<int64_t> {
int64_t Min; int64_t Min = INT64_MIN;
int64_t Max; int64_t Max = INT64_MAX;
MDSignedField(int64_t Default = 0) MDSignedField(int64_t Default = 0)
: ImplTy(Default), Min(INT64_MIN), Max(INT64_MAX) {} : ImplTy(Default) {}
MDSignedField(int64_t Default, int64_t Min, int64_t Max) MDSignedField(int64_t Default, int64_t Min, int64_t Max)
: ImplTy(Default), Min(Min), Max(Max) {} : ImplTy(Default), Min(Min), Max(Max) {}
}; };