This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Clean up some __builtin_*_chk diagnostics
ClosedPublic

Authored by erik.pilkington on Sep 5 2018, 11:31 AM.

Details

Summary

Namely, print the likely macro name when it's used, and include the actual computed sizes in the diagnostic message, which are sometimes not obvious.

rdar://43909200

Thanks for taking a look!

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Sep 6 2018, 9:39 AM
This revision was automatically updated to reflect the committed changes.