MCPcopy Create free account
hub / github.com/beefytech/Beef / ProcessModule

Method ProcessModule

IDEHelper/Clang/ClangHelper.cpp:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 void ProcessModule(CXTranslationUnit transUnit, CXModule module)
180 {
181 int numHeaders = clang_Module_getNumTopLevelHeaders(transUnit, module);
182 for (int headerIdx = 0; headerIdx < numHeaders; headerIdx++)
183 {
184 CXFile headerFile = clang_Module_getTopLevelHeader(transUnit, module, headerIdx);
185 String fileName = ToString(clang_getFileName(headerFile));
186 if (mFileSet.insert(fileName).second)
187 {
188 CXModule headerModule = clang_getModuleForFile(transUnit, headerFile);
189 ProcessModule(transUnit, headerModule);
190 }
191 }
192 }
193
194 CXChildVisitResult Visit(CXCursor cursor, CXCursor parent)
195 {

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected