mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Fixed errors
Added some new classes for built in operations that for the moment have no effect (added to remove errors)
This commit is contained in:
@@ -277,6 +277,10 @@ cached private module Cached {
|
||||
result = element.getPrimaryInstructionForSideEffect(tag)
|
||||
)
|
||||
}
|
||||
|
||||
cached Language::BuiltInOperation getInstructionBuiltInOperation(Instruction instr) {
|
||||
none()
|
||||
}
|
||||
}
|
||||
|
||||
import CachedForDebugging
|
||||
|
||||
@@ -17,6 +17,15 @@ private newtype TClassDerivation =
|
||||
derived.getABaseType() = base
|
||||
}
|
||||
|
||||
private newtype TBuiltInOperation =
|
||||
NoOp()
|
||||
|
||||
class BuiltInOperation extends TBuiltInOperation {
|
||||
string toString() {
|
||||
result = "BuiltInOp"
|
||||
}
|
||||
}
|
||||
|
||||
class ClassDerivation extends MkClassDerivation {
|
||||
Class baseClass;
|
||||
Class derivedClass;
|
||||
|
||||
Reference in New Issue
Block a user