seanm wrote:
@bwendling is there any plan / possibility for simple expressions (with no side
effects)? Like:
```c
struct libusb_bos_dev_capability_descriptor {
uint8_t bLength;
uint8_t bDescriptorType;
uint8_t bDevCapabilityType;
uint8_t dev_capability_data[
seanm wrote:
@bwendling thanks for your reply. No idea how representative it is of other
projects, but 3 of the 6 flexible arrays in
[libusb](https://github.com/libusb/libusb) structures have these kinds of
non-trivial counts.
The GCC folks seem to have
[considered](https://gcc.gnu.org/bugzi
Friendly ping... this is a very trivial documentation patch...
On Wed, 10 Aug 2016 13:57:07 -0400, Sean McBride via cfe-commits said:
>Fixed incorrect docs that referred to:
> objc_arc_weak_unavailable
>when it should be:
> objc_arc_weak_reference_unavailable
>
&
Fixed incorrect docs that referred to:
objc_arc_weak_unavailable
when it should be:
objc_arc_weak_reference_unavailable
Cheers,
Sean
objc_arc_weak_unavailable-typo.patch
Description: Binary data
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
On Thu, 7 Apr 2016 15:48:56 +, Alexander Kornienko via cfe-commits said:
>Actually, did you think about adding this as a clang diagnostic?
>
>Richard, what do you think about complaining in Clang about `int i =
>true;` kind of code?
If you don't mind a lurker interjecting... :) I think that'
seanm wrote:
@fhahn can TySan be made to trap when it detects a problem? I tried
`-fsanitize-trap=type` but got:
`clang++: error: unsupported argument 'type' to option '-fsanitize-trap='`
`-fsanitize-trap=all` does not seem to result in TySan trapping, only logging...
https://github.com/llvm
https://github.com/seanm updated
https://github.com/llvm/llvm-project/pull/135720
>From cfd32680ac4a534b4060d8cc3549edfe45e721bf Mon Sep 17 00:00:00 2001
From: Sean McBride
Date: Mon, 14 Apr 2025 20:58:24 -0400
Subject: [PATCH] Fixed issue #128882: don't warn if 1st argument to 'getcwd'
is NUL
https://github.com/seanm created
https://github.com/llvm/llvm-project/pull/135720
None
>From 4ce75d43c62537a7020da0ca737c76e0cca27aca Mon Sep 17 00:00:00 2001
From: Sean McBride
Date: Mon, 14 Apr 2025 20:58:24 -0400
Subject: [PATCH] Fixed issue #128882: don't warn if 1st argument to 'getcwd'