-
### Summary
It's more expensive to pass in a `&Rc` than just cloning it.
### Lint Name
clippy::needless_pass_by_value
### Reproducer
I tried this code:
```rust
#![warn(clippy::needl…
-
Related to #189.
`` is one of the STL's most complicated headers (despite the seeming simplicity) because of the "sufficient additional overloads" Standardese in WG21-N4861 [cmath.syn]/2. There's a…
-
If you look at the declaration of ModelicaStandardTables_CombiTimeTable_init (and similar ones) you notice that all pointer arguments are declared to be non-NULL (using nonnull-attribute for Gcc and S…
-
~~~~
/home/aghinsa/Documents/building/libbot2/bot2-vis/src/bot_vis/viewer.c: In function ‘bot_viewer_start_recording’:
/home/aghinsa/Documents/building/libbot2/bot2-vis/src/bot_vis/viewer.c:136:21: …
-
Simple bug:
```
(3.10.1) robin@LAPTOP-JF6T3PSU:~$ python
Python 3.10.1 (main, Jan 12 2022, 15:37:56) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
…
-
### Version
Yosys 0.44 (git sha1 80ba43d26, g++ 14.2.1 -march=x86-64 -mtune=generic -O2 -fno-plt -fexceptions -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-poi…
-
DocBlockr fails to continue the comment block when started above a function prototype containing an array style pointer in the parameter list. For example:
``` c
void foo(int bar[]);
```
In the abo…
-
```
o it calculates the buffer size in quadwords, rounded down
nblocks = len/16;
o then the body loop iterates i up to nblocks-1:
for(int i = 0; i < nblocks; i++)
o Inside the loop, these acce…
-
```
o it calculates the buffer size in quadwords, rounded down
nblocks = len/16;
o then the body loop iterates i up to nblocks-1:
for(int i = 0; i < nblocks; i++)
o Inside the loop, these acce…
-
```
o it calculates the buffer size in quadwords, rounded down
nblocks = len/16;
o then the body loop iterates i up to nblocks-1:
for(int i = 0; i < nblocks; i++)
o Inside the loop, these acce…