This is an archive of the discontinued LLVM Phabricator instance.

[AST] Fix an undefine behavior when creating an empty recovery expr.
ClosedPublic

Authored by hokein on Apr 16 2020, 1:41 AM.

Details

Summary

We forgot to initialize the NumExpr member in one of the constructors,
which leads crashes in preamble serialization.

Diff Detail

Event Timeline

hokein created this revision.Apr 16 2020, 1:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2020, 1:41 AM
sammccall accepted this revision.Apr 16 2020, 2:22 AM
This revision is now accepted and ready to land.Apr 16 2020, 2:22 AM
This revision was automatically updated to reflect the committed changes.