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!
Paths
| Differential D51697
[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
Event TimelineThis revision is now accepted and ready to land.Sep 6 2018, 9:39 AM Closed by commit rL341566: [Sema] Clean up some __builtin_*_chk diagnostics (authored by epilk). · Explain WhySep 6 2018, 10:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 164237 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaChecking.cpp
cfe/trunk/test/Sema/builtin-object-size.c
cfe/trunk/test/Sema/builtins.c
|