mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
No magic isLibraryFile
This commit is contained in:
@@ -73,6 +73,7 @@ predicate isExternsFile(File f) {
|
||||
/**
|
||||
* Holds if `f` contains library code.
|
||||
*/
|
||||
pragma[nomagic]
|
||||
predicate isLibraryFile(File f) { f.getATopLevel() instanceof FrameworkLibraryInstance }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user