Fraunhofer-AISEC / cpg

A library to extract Code Property Graphs from C/C++, Java, Go, Python, Ruby and every other language through LLVM-IR.
https://fraunhofer-aisec.github.io/cpg/
Apache License 2.0
246 stars 59 forks source link

Extracting connecting declarations and definitions in C++ to extra pass #1505

Closed oxisto closed 1 month ago

oxisto commented 1 month ago

This PR finally connects all declarations in C/C++ to their respective definitions in an extra pass, more specifically the already existing CXXExtraPass. Since C/C++ is the only language where this is (currently) relevant, I would propose sticking to this "language-specific" solution.

Fixes #194

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud