This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Accept enumeration types without underlying inetger type present in debug info metadata
ClosedPublic

Authored by chill on Feb 14 2018, 10:55 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

chill created this revision.Feb 14 2018, 10:55 AM

I'll add a test tomorrow.

rogfer01 added inline comments.Feb 14 2018, 11:04 AM
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
1433 ↗(On Diff #134267)

I think if (DTy) suits more the existing coding standard elsewhere in this file.

vsapsai accepted this revision.Feb 14 2018, 6:52 PM

Roger has a good point, I agree that if (DTy) is more consistent with the rest of the code, please change it when commit. Code looks good to me from the standpoint of fixing the build.

This revision is now accepted and ready to land.Feb 14 2018, 6:52 PM
chill updated this revision to Diff 134399.Feb 15 2018, 3:38 AM

Minor style change and added a test.

chill marked an inline comment as done.Feb 15 2018, 3:38 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the fix.