Skip to content

Commit

Permalink
Merge pull request #145 from microsoft/jb1/isLibraryFile-nomagic
Browse files Browse the repository at this point in the history
No magic on `ClassifyFiles::isLibraryFile`
  • Loading branch information
MathiasVP authored Nov 26, 2024
2 parents 2d66955 + 52d7a3b commit 029fb0b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ predicate isExternsFile(File f) {
/**
* Holds if `f` contains library code.
*/
pragma[nomagic]
predicate isLibraryFile(File f) { f.getATopLevel() instanceof FrameworkLibraryInstance }

/**
Expand Down

0 comments on commit 029fb0b

Please sign in to comment.