This is an archive of the discontinued LLVM Phabricator instance.

suppress undefined-template warnings when the pattern is declared in a system header
AcceptedPublic

Authored by nlewycky on Dec 5 2017, 12:24 PM.

Details

Reviewers
rsmith
Summary

The way to fix an undefined-template warning is to add lines to the header file that defines the template pattern. We should suppress the warnings when the template pattern is in a system header because we don't expect users to edit those.

Diff Detail

Event Timeline

nlewycky created this revision.Dec 5 2017, 12:24 PM
rsmith accepted this revision.Jan 2 2018, 11:03 AM

Thanks, I agree with your reasoning.

This revision is now accepted and ready to land.Jan 2 2018, 11:03 AM