File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import SsaImplCommon
1616
1717private module SourceVariables {
1818 /**
19- * Holds if `store` is the `StoreInstruction` generated by an postfix
19+ * Holds if `store` is the `StoreInstruction` generated by n postfix
2020 * increment or decrement operation `e`, and `postCrement` is the operand
2121 * that represents the use of the evaluated value of `e`.
2222 */
@@ -686,15 +686,15 @@ class FinalParameterUse extends UseImpl, TFinalParameterUse {
686686 }
687687
688688 pragma [ nomagic]
689- private predicate hasBaseSourceVariableAndIndirectrion ( BaseIRVariable v , int indirection ) {
689+ private predicate hasBaseSourceVariableAndIndirection ( BaseIRVariable v , int indirection ) {
690690 v .getIRVariable ( ) .getAst ( ) = p and
691691 indirection = this .getIndirection ( )
692692 }
693693
694694 override NormalSourceVariable getSourceVariable ( ) {
695695 exists ( BaseIRVariable v , int indirection |
696696 sourceVariableHasBaseAndIndex ( result , v , indirection ) and
697- this .hasBaseSourceVariableAndIndirectrion ( v , indirection )
697+ this .hasBaseSourceVariableAndIndirection ( v , indirection )
698698 )
699699 }
700700}
You can’t perform that action at this time.
0 commit comments