mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-27 21:50:29 +00:00
Use ctor instead of initializer list to appease Windows buildbots
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b98e0c4da5
commit
89ca7b3e36
@ -51,7 +51,7 @@ DWARFAbbreviationDeclaration::extract(DataExtractor Data, uint32_t* OffsetPtr) {
|
||||
}
|
||||
if (Attr == 0 && Form == 0)
|
||||
break;
|
||||
AttributeSpecs.push_back(AttributeSpec{Attr, Form});
|
||||
AttributeSpecs.push_back(AttributeSpec(Attr, Form));
|
||||
}
|
||||
|
||||
if (Tag == 0) {
|
||||
|
@ -23,6 +23,7 @@ class DWARFAbbreviationDeclaration {
|
||||
bool HasChildren;
|
||||
|
||||
struct AttributeSpec {
|
||||
AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {}
|
||||
uint16_t Attr;
|
||||
uint16_t Form;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user