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

Function GetLocation

IDEHelper/Clang/ClangHelper.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58static CXFile GetLocation(CXSourceLocation loc, int* idx)
59{
60 CXFile file;
61 uint32 line;
62 uint32 column;
63 clang_getFileLocation(loc, &file, &line, &column, (uint32*)idx);
64 return file;
65}
66
67static CXFile GetRange(CXSourceRange range, int* startIdx, int* endIdx)
68{

Callers 1

ClassifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected