File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
joern-cli/frontends/c2cpg/src/main/scala/io/joern/c2cpg/astcreation Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ trait AstForExpressionsCreator(implicit withSchemaValidation: ValidationMode) {
8383 createPointerCallAst(call, cleanType(safeGetType(call.getExpressionType)))
8484 case functionType : ICPPFunctionType =>
8585 functionNameExpr match {
86- case idExpr : CPPASTIdExpression if idExpr.getName.resolveBinding() .isInstanceOf [ICPPFunction ] =>
86+ case idExpr : CPPASTIdExpression if idExpr.getName.getBinding .isInstanceOf [ICPPFunction ] =>
8787 val function = idExpr.getName.getBinding.asInstanceOf [ICPPFunction ]
8888 val name = idExpr.getName.getLastName.toString
8989 val signature =
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ trait AstForPrimitivesCreator(implicit withSchemaValidation: ValidationMode) { t
132132 val variableOption = scope.lookupVariable(identifierName)
133133 variableOption match {
134134 case Some ((_, variableTypeName)) => variableTypeName
135- case None if ident.isInstanceOf [IASTName ] && ident.asInstanceOf [IASTName ].resolveBinding() != null =>
135+ case None if ident.isInstanceOf [IASTName ] && ident.asInstanceOf [IASTName ].getBinding != null =>
136136 val id = ident.asInstanceOf [IASTName ]
137137 id.getBinding match {
138138 case v : IVariable =>
You can’t perform that action at this time.
0 commit comments