@@ -93,14 +93,14 @@ bool IncludeGraphDependencies::decrementUsageRefCount(
93
93
std::set<clangmetatool::types::FileUID>
94
94
IncludeGraphDependencies::collectAllIncludes (
95
95
const clangmetatool::collectors::IncludeGraphData* data,
96
- const types::FileUID &fileFUID )
96
+ const types::FileUID &fileUID )
97
97
{
98
98
types::FileGraph::const_iterator rangeBegin, rangeEnd;
99
- std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileFUID );
99
+ std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileUID );
100
100
101
101
std::set<clangmetatool::types::FileUID> visitedNodes;
102
102
std::queue<clangmetatool::types::FileUID> toVisit;
103
- toVisit.push (fileFUID );
103
+ toVisit.push (fileUID );
104
104
while (!toVisit.empty ()) {
105
105
auto currentFUID = toVisit.front ();
106
106
toVisit.pop ();
@@ -120,18 +120,18 @@ IncludeGraphDependencies::collectAllIncludes(
120
120
121
121
std::set<types::FileUID> IncludeGraphDependencies::liveDependencies (
122
122
const collectors::IncludeGraphData *data,
123
- const clangmetatool::types::FileUID &fileFUID ) {
123
+ const clangmetatool::types::FileUID &fileUID ) {
124
124
std::set<types::FileUID> dependencies;
125
125
std::set<types::FileGraphEdge> visitedEdges;
126
126
std::set<types::FileUID> visitedNodes;
127
127
128
128
types::FileGraph::const_iterator rangeBegin, rangeEnd;
129
- std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileFUID );
129
+ std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileUID );
130
130
131
131
for (auto it = rangeBegin; it != rangeEnd; ++it) {
132
- assert (it->first == fileFUID );
132
+ assert (it->first == fileUID );
133
133
auto &dependency = it->second ;
134
- if (isRequired (data, fileFUID , dependency, visitedEdges, visitedNodes)) {
134
+ if (isRequired (data, fileUID , dependency, visitedEdges, visitedNodes)) {
135
135
dependencies.insert (dependency);
136
136
}
137
137
}
@@ -191,16 +191,16 @@ void traverseFor(const types::FileUID &forNode, const types::FileUID &rootNode,
191
191
IncludeGraphDependencies::DirectDependenciesMap
192
192
IncludeGraphDependencies::liveWeakDependencies (
193
193
const clangmetatool::collectors::IncludeGraphData *data,
194
- const clangmetatool::types::FileUID &fileFUID ){
194
+ const clangmetatool::types::FileUID &fileUID ){
195
195
IncludeGraphDependencies::DirectDependenciesMap depsMap;
196
196
197
197
types::FileGraph::const_iterator rangeBegin, rangeEnd;
198
- std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileFUID );
198
+ std::tie (rangeBegin, rangeEnd) = edgeRangeStartsWith (data, fileUID );
199
199
200
200
for (auto it = rangeBegin; it != rangeEnd; ++it) {
201
- assert (it->first == fileFUID );
201
+ assert (it->first == fileUID );
202
202
std::set<types::FileUID> knownNodes;
203
- traverseFor (fileFUID , it->second , data, knownNodes, depsMap);
203
+ traverseFor (fileUID , it->second , data, knownNodes, depsMap);
204
204
}
205
205
206
206
return depsMap;
0 commit comments