diff --git a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/statements/expressions/CallExpression.kt b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/statements/expressions/CallExpression.kt index 2ec7d831e02..717ed8a6fdc 100644 --- a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/statements/expressions/CallExpression.kt +++ b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/graph/statements/expressions/CallExpression.kt @@ -100,7 +100,6 @@ open class CallExpression : */ @AST var callee: Expression = ProblemExpression("could not parse callee") - /** * The [Name] of this call expression, based on its [callee]. * * For simple calls, this is just the name of the [callee], e.g., a reference to a function diff --git a/cpg-language-cxx/src/main/kotlin/de/fraunhofer/aisec/cpg/frontends/cxx/DeclarationHandler.kt b/cpg-language-cxx/src/main/kotlin/de/fraunhofer/aisec/cpg/frontends/cxx/DeclarationHandler.kt index 57cced4bb36..6abe2f4a68c 100644 --- a/cpg-language-cxx/src/main/kotlin/de/fraunhofer/aisec/cpg/frontends/cxx/DeclarationHandler.kt +++ b/cpg-language-cxx/src/main/kotlin/de/fraunhofer/aisec/cpg/frontends/cxx/DeclarationHandler.kt @@ -654,7 +654,6 @@ class DeclarationHandler(lang: CXXLanguageFrontend) : rawNode = enumerator, ) - // In C/C++, default enums are of type int enumConst.type = primitiveType("int")