Merge pull request #21618 from jketema/meson-silence

C++: Add heuristics for meson configuration files
This commit is contained in:
Jeroen Ketema
2026-03-31 15:24:22 +02:00
committed by GitHub
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1 @@
Likely Bugs/Likely Typos/ExprHasNoEffect.ql

View File

@@ -0,0 +1,8 @@
typedef long long size_t;
size_t strlen(const char *s);
int main() {
strlen(""); // GOOD: the source file occurs in a `meson-private/tmp.../testfile.c` directory
return 0;
}