Page MenuHomePhabricator

[NFCI] Always initialize BugReport const fields
ClosedPublic

Authored by xiaobai on Wed, Aug 14, 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.Wed, Aug 14, 5:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Aug 14, 5:27 PM
Szelethus accepted this revision.Wed, Aug 14, 5:35 PM

LGTM, thanks!

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