File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ private module SourceVariables {
2222
2323 SourceVariable ( ) { this = TMkSourceVariable ( base , ind ) }
2424
25+ /** Gets the IR variable associated with this `SourceVariable`, if any. */
2526 IRVariable getIRVariable ( ) { result = base .( BaseIRVariable ) .getIRVariable ( ) }
2627
2728 /**
Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ abstract private class AbstractBaseSourceVariable extends TBaseSourceVariable {
377377 /** Gets the type of this base source variable. */
378378 final DataFlowType getType ( ) { this .getLanguageType ( ) .hasUnspecifiedType ( result , _) }
379379
380+ /** Gets the `CppType` of this base source variable. */
380381 abstract CppType getLanguageType ( ) ;
381382}
382383
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ private import semmle.code.cpp.ir.dataflow.internal.SsaInternalsCommon
1616
1717private module SourceVariables {
1818 class SourceVariable extends BaseSourceVariable {
19+ /**
20+ * Gets the base source variable of this `SourceVariable`.
21+ */
1922 BaseSourceVariable getBaseVariable ( ) { result = this }
2023 }
2124}
You can’t perform that action at this time.
0 commit comments