This is an archive of the discontinued LLVM Phabricator instance.

Initialize `ConceptReference` of new `AutoTypeLoc` with nullptr.
ClosedPublic

Authored by massberg on Sep 5 2023, 8:29 AM.

Diff Detail

Event Timeline

massberg created this revision.Sep 5 2023, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2023, 8:29 AM
massberg requested review of this revision.Sep 5 2023, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2023, 8:29 AM
sammccall accepted this revision.Sep 5 2023, 9:00 AM

Days since learning something new and horrifying about TypeLoc: zero

You might consider deleting the '= nullptr' from AutoTypeLocInfo::CR since it appears we never actually run the constructors/destructors of TypeLocInfo classes (at least when using TypeLocBuilder).

This revision is now accepted and ready to land.Sep 5 2023, 9:00 AM