File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -232,8 +232,8 @@ abstract class DefImpl extends TDefImpl {
232232 */
233233 abstract predicate isCertain ( ) ;
234234
235- /** Gets the value written to the destination variable by this definition. */
236- abstract Node0Impl getValue ( ) ;
235+ /** Gets the value written to the destination variable by this definition, if any . */
236+ Node0Impl getValue ( ) { none ( ) }
237237
238238 /** Gets the operand that represents the address of this definition, if any. */
239239 Operand getAddressOperand ( ) { none ( ) }
@@ -324,8 +324,6 @@ abstract private class DefAddressImpl extends DefImpl, TDefAddressImpl {
324324
325325 final override predicate isCertain ( ) { any ( ) }
326326
327- final override Node0Impl getValue ( ) { none ( ) }
328-
329327 override Cpp:: Location getLocation ( ) { result = v .getLocation ( ) }
330328
331329 final override SourceVariable getSourceVariable ( ) {
@@ -653,8 +651,6 @@ class GlobalDefImpl extends DefImpl, TGlobalDefImpl {
653651
654652 override int getIndirection ( ) { result = indirectionIndex }
655653
656- override Node0Impl getValue ( ) { none ( ) }
657-
658654 override predicate isCertain ( ) { any ( ) }
659655
660656 /**
You can’t perform that action at this time.
0 commit comments