Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ object ProtoCpgLoader {
val cpg = openOrCreateCpg(storagePath)

// first pass: add the raw nodes without any properties or edges
protoCpgs().foreach { cpgProto =>
addNodesRaw(nodesIter(cpgProto), cpg.graph, protoToGraphNodeMappings)
}
addNodesRaw(protoCpgs().flatMap(cpgProto => nodesIter(cpgProto)), cpg.graph, protoToGraphNodeMappings)

// second pass: set node properties and add edges
val diffGraph = Cpg.newDiffGraphBuilder
Expand Down
Loading