This is an archive of the discontinued LLVM Phabricator instance.

[NFCI] Always initialize BugReport const fields
ClosedPublic

Authored by xiaobai on Aug 14 2019, 5:27 PM.

Details

Summary

Some compilers require that const fields of an object must be explicitly
initialized by the constructor. I ran into this issue building with clang
3.8 on Ubuntu 16.04.

Diff Detail

Repository
rL LLVM

Event Timeline

xiaobai created this revision.Aug 14 2019, 5:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2019, 5:27 PM
Szelethus accepted this revision.Aug 14 2019, 5:35 PM

LGTM, thanks!

This revision is now accepted and ready to land.Aug 14 2019, 5:35 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2019, 5:58 PM