-
# Motivation
Sometimes, it is necessary to keep an expression in the codebase for debugging purposes without using it in the release build. Common practices include using `assert`, `NSAssert` (from…
-
** CID 1490756: Control flow issues (DEADCODE)
/xlators/cluster/dht/src/dht-lock.c: 408 in dht_unlock_entrylk()
________________________________________________________________________________…
-
| | |
| --- | --- |
| Bugzilla Link | [33167](https://llvm.org/bz33167) |
| Version | 3.9 |
| OS | Linux |
| Attachments | [minimal working example for the bug](https://user-images.githubusercontent…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR39802](https://bugs.llvm.org/show_bug.cgi?id=39802) |
| Status | NEW |
| Importance | P enhancemen…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR25777](https://bugs.llvm.org/show_bug.cgi?id=25777) |
| Status | NEW |
| Importance | P normal |
|…
-
| | |
| --- | --- |
| Bugzilla Link | [39802](https://llvm.org/bz39802) |
| Version | 7.0 |
| OS | Windows NT |
| Attachments | [unreachable-repro.cpp](https://user-images.githubusercontent.com/6094…
-
| | |
| --- | --- |
| Bugzilla Link | [25777](https://llvm.org/bz25777) |
| Version | unspecified |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @devincoughlin |
## Extended Descr…
-
```c
$ pkg install llvm10
$ scan-build10 --status-bugs make -s
scan-build: Using '/usr/local/llvm10/bin/clang-10' for static analysis
===> lib (all)
index.c:124:2: warning: Value stored to 'dirce…
-
https://godbolt.org/z/8rT7G13ro
```
#include
#include
using namespace std;
int main() {
int i = 42;
std::array holes = {0, 4, 20, 12, 32, 16, 57, 17, 80, 20, 100, 24, 116, 32};
…
-
Local `constexpr` c-string used only in lambda yields false positive about dead store.
Minimal repro: https://godbolt.org/z/qr8zGeGsv
```c++
int main() {
constexpr auto constexprlocal = "c…
R2RT updated
6 months ago