[PATCH] D47435: Add __builtin_signbit semantic checking
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 27 14:15:13 PDT 2018
aaron.ballman added inline comments.
================
Comment at: test/Sema/builtins.c:228
// expected-note {{change size argument to be the size of the destination}}
-
+
__builtin___strlcat_chk(buf, b, sizeof(b), __builtin_object_size(buf, 0)); // expected-warning {{size argument in '__builtin___strlcat_chk' call appears to be size of the source; expected the size of the destination}} \
----------------
I'll revert this sneaky whitespace either as part of the commit, or as an updated patch if one is required.
Repository:
rC Clang
https://reviews.llvm.org/D47435
More information about the cfe-commits
mailing list