MCPcopy Create free account
hub / github.com/Samsung/UTopia / add

Method add

lib/propanalysis/FilePathAnalysisReport.cpp:43–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void FilePathAnalysisReport::add(ArgFlow &AF, std::vector<int> Indices) {
44 auto &A = AF.getLLVMArg();
45 set(A, AF.isFilePathString(), Indices);
46
47 auto SI = AF.getStructInfo();
48 if (!SI)
49 return;
50
51 for (auto Iter : SI->FieldResults) {
52 if (!Iter.second)
53 continue;
54
55 Indices.push_back(Iter.first);
56 add(*Iter.second, Indices);
57 Indices.pop_back();
58 }
59}
60
61} // end namespace ftg

Callers

nothing calls this directly

Calls 2

isFilePathStringMethod · 0.80
getStructInfoMethod · 0.80

Tested by

no test coverage detected