Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit ed55b7a

Browse files
jschjsramasit
authored andcommitted
Fix compilation issue with MSVC
1 parent 6b18b8f commit ed55b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,8 +1434,8 @@ unsigned DWARFVerifier::verifyNameIndexAttribute(
14341434
}
14351435

14361436
if (AttrEnc.Index == dwarf::DW_IDX_parent) {
1437-
constexpr static auto AllowedForms = {dwarf::Form::DW_FORM_flag_present,
1438-
dwarf::Form::DW_FORM_ref4};
1437+
static constexpr dwarf::Form AllowedForms[] = {dwarf::Form::DW_FORM_flag_present,
1438+
dwarf::Form::DW_FORM_ref4};
14391439
if (!is_contained(AllowedForms, AttrEnc.Form)) {
14401440
ErrorCategory.Report("Unexpected NameIndex Abbreviation", [&]() {
14411441
error() << formatv(

0 commit comments

Comments
 (0)