diff options
| author | Alexey Samsonov <samsonov@google.com> | 2014-03-14 10:37:36 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2014-03-14 10:37:36 +0000 |
| commit | 4d97203add074ca5c4dd4b93241e6ddf57b1ce02 (patch) | |
| tree | ff1ed8cdbdc3c4ae36cb47c8321e321c17b9be67 /llvm/lib/DebugInfo | |
| parent | 3e13ef529691caead77b8be5cd47237b6aba9ad3 (diff) | |
| download | bcm5719-llvm-4d97203add074ca5c4dd4b93241e6ddf57b1ce02.tar.gz bcm5719-llvm-4d97203add074ca5c4dd4b93241e6ddf57b1ce02.zip | |
Use ctor instead of initializer list to appease Windows buildbots
llvm-svn: 203915
Diffstat (limited to 'llvm/lib/DebugInfo')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp index ebd5bef377e..c3e570e14cc 100644 --- a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp +++ b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp @@ -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) { diff --git a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h index f575f323afc..b86b9ecbe4b 100644 --- a/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h +++ b/llvm/lib/DebugInfo/DWARFAbbreviationDeclaration.h @@ -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; }; |

