Closed liangti closed 2 years ago
Issue number of the reported bug or feature request: #
Describe your changes
We provide a more advance data structure for dependencies analysis
This will help with analyzing diamond include graph dependency
So that given include graph like:
// +-> e.h -----+--> def5.h (E) // | | // foo.cpp -- +-> diam.h --+
Actually foo.cpp only need either e.h or diam.h in order to access resource(E) defined in def5.h
e.h
diam.h
def5.h
Testing performed
Add test case to proof the new added function returns expected data to reflect this weak dependencies relationship
Additional context
This change should not break any existent thing since it is adding new function without changing any old functions
@ruoso @dbeer1 @samanpa @nsmith0 @envp
LGTM, any concerns @envp ?
None from me.
Issue number of the reported bug or feature request: #
Describe your changes
We provide a more advance data structure for dependencies analysis
This will help with analyzing diamond include graph dependency
So that given include graph like:
Actually foo.cpp only need either
e.h
ordiam.h
in order to access resource(E) defined indef5.h
Testing performed
Add test case to proof the new added function returns expected data to reflect this weak dependencies relationship
Additional context
This change should not break any existent thing since it is adding new function without changing any old functions