File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ class GlobalDefImpl extends DefOrUseImpl, TGlobalDefImpl {
525
525
*/
526
526
Type getUnspecifiedType ( ) { result = global .getUnspecifiedType ( ) }
527
527
528
- override string toString ( ) { result = "GlobalDef" }
528
+ override string toString ( ) { result = "Def of " + this . getSourceVariable ( ) }
529
529
530
530
override Location getLocation ( ) { result = f .getLocation ( ) }
531
531
@@ -995,7 +995,7 @@ class GlobalDef extends TGlobalDef, SsaDefOrUse {
995
995
final override Location getLocation ( ) { result = global .getLocation ( ) }
996
996
997
997
/** Gets a textual representation of this definition. */
998
- override string toString ( ) { result = "GlobalDef" }
998
+ override string toString ( ) { result = global . toString ( ) }
999
999
1000
1000
/**
1001
1001
* Holds if this definition has index `index` in block `block`, and
You can’t perform that action at this time.
0 commit comments