Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Nov 15, 2024
1 parent e7b9e30 commit b343a8c
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ package de.fraunhofer.aisec.cpg
import de.fraunhofer.aisec.cpg.frontends.CastNotPossible
import de.fraunhofer.aisec.cpg.frontends.CastResult
import de.fraunhofer.aisec.cpg.frontends.Language
import de.fraunhofer.aisec.cpg.graph.Name
import de.fraunhofer.aisec.cpg.graph.declarations.RecordDeclaration
import de.fraunhofer.aisec.cpg.graph.declarations.TemplateDeclaration
import de.fraunhofer.aisec.cpg.graph.scopes.Scope
Expand All @@ -37,7 +36,6 @@ import de.fraunhofer.aisec.cpg.graph.statements.expressions.Reference
import de.fraunhofer.aisec.cpg.graph.types.*
import de.fraunhofer.aisec.cpg.passes.Pass
import de.fraunhofer.aisec.cpg.passes.ResolveCallExpressionAmbiguityPass
import de.fraunhofer.aisec.cpg.passes.TypeResolver
import java.util.*
import java.util.concurrent.ConcurrentHashMap
import org.slf4j.Logger
Expand All @@ -62,12 +60,6 @@ class TypeManager {
val firstOrderTypes = mutableListOf<Type>()
val secondOrderTypes = mutableListOf<Type>()

/**
* A map of declared types by their name. Useful to check for the existence of a declared type
* by its fully qualified name across all scopes.
*/
@PopulatedByPass(TypeResolver::class) val declaredTypes = mutableMapOf<Name, Type>()

/**
* @param recordDeclaration that is instantiated by a template containing parameterizedtypes
* @param name of the ParameterizedType we want to get
Expand Down

0 comments on commit b343a8c

Please sign in to comment.