We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9ae583 commit 4aef1baCopy full SHA for 4aef1ba
rust/ql/lib/codeql/files/FileSystem.qll
@@ -82,7 +82,7 @@ class ExtractedFile extends File {
82
* * expand any macros
83
* * skip any blocks that are conditionally compiled out
84
*/
85
- predicate hasSemantics() { not exists(Diagnostic d | d = this.getNoSemanticsDiagnostic()) }
+ predicate hasSemantics() { not exists(this.getNoSemanticsDiagnostic()) }
86
87
/**
88
* Holds if we know this file was skipped by conditional compilation.
0 commit comments