HomePhabricator

CGDebugInfo: Delete redundant test

Authored by MaskRay on Sun, Jan 10, 10:09 PM.

Description

CGDebugInfo: Delete redundant test

Details

Committed
MaskRaySun, Jan 10, 10:22 PM
Parents
rGdcac2da10632: [IR Parser] Fix a crash handling zero width integer attributes.
Branches
Unknown
Tags
Unknown

Event Timeline

I think this is here for consistency with the other complete* functions - perhaps it could be left as an assertion?

The called completeUnusedClass is immediately below.

DebugKind <= codegenoptions::DebugLineTablesOnly is a live code path.

The called completeUnusedClass is immediately below.

DebugKind <= codegenoptions::DebugLineTablesOnly is a live code path.

fair enough - thanks!