[PATCH] D51697: [Sema] Clean up some __builtin_*_chk diagnostics
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 5 11:34:07 PDT 2018
erik.pilkington created this revision.
erik.pilkington added reviewers: aaron.ballman, rsmith.
Herald added subscribers: kristina, dexonsmith.
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!
Repository:
rC Clang
https://reviews.llvm.org/D51697
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/builtin-object-size.c
clang/test/Sema/builtins.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51697.164087.patch
Type: text/x-patch
Size: 8888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180905/7ed05030/attachment-0001.bin>
More information about the cfe-commits
mailing list