mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #18408 from jketema/config-silence
C++: Silence alerts coming from CMake test compilation files
This commit is contained in:
@@ -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 `CMakeFiles/CMakeScratch/TryCompile-...` directory
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Likely Bugs/Likely Typos/ExprHasNoEffect.ql
|
||||
Reference in New Issue
Block a user