File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
csharp/ql/src/semmle/code/csharp/ir Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change 1- /**
2- * Module used to configure the IR generation process.
3- */
4-
5- import csharp
6-
7- private newtype TIRConfiguration = MkIRConfiguration ( )
8- private import semmle.code.csharp.ir.internal.IRCSharpLanguage as Language
9-
10- /**
11- * The query can extend this class to control which functions have IR generated for them.
12- */
13- class IRConfiguration extends TIRConfiguration {
14- string toString ( ) { result = "IRConfiguration" }
15-
16- /**
17- * Holds if IR should be created for callable `callable`. By default, holds for all callables.
18- */
19- predicate shouldCreateIRForFunction ( Callable callable ) { any ( ) }
20-
21- predicate shouldEvaluateDebugStringsForFunction ( Language:: Function func ) { any ( ) }
22- }
1+ import implementation.IRConfiguration
You can’t perform that action at this time.
0 commit comments