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 26925c19f3..0656e7d21e 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 @@ -245,7 +245,7 @@ class DeclarationHandler(lang: CXXLanguageFrontend) : return if (this.declSpecifier is IASTCompositeTypeSpecifier) { if (this.declSpecifier.rawSignature.contains("typedef")) { // This is very stupid. For composite type specifiers, we need to make sure that - // we do not match simple because our declarations contain a typedef. + // we do not match simply because our declarations contain a typedef. // The problem is that we cannot correctly detect the case where both our "main" // declaration and our sub declarations contain a typedef :( (this.declSpecifier as IASTCompositeTypeSpecifier).getDeclarations(true).none {