[PATCH] D40574: Bounds check argument_with_type_tag attribute.

Matt Davis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 11:06:15 PST 2017


mattd updated this revision to Diff 124783.
mattd added a comment.

- Removed the new lines.
- Added white space between the data type and pointer character.
- Updated the test to check the exact bounds, and over-bounds cases
- Combined the diagnostic messages into one via 'select'




https://reviews.llvm.org/D40574

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaChecking.cpp
  test/Sema/error-type-safety.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40574.124783.patch
Type: text/x-patch
Size: 4140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171129/1d6eddc2/attachment.bin>


More information about the cfe-commits mailing list