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

Method getFullPath

lib/astirmap/LocIndex.cpp:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100std::string LocIndex::getFullPath(const llvm::DebugLoc &Loc) {
101 auto *DILoc = Loc.get();
102 if (!DILoc)
103 return "";
104
105 auto *DIF = DILoc->getFile();
106 if (!DIF)
107 return "";
108
109 return util::getFullPath(*DIF);
110}
111
112bool LocIndex::isExpandedFromMacro() const { return FromMacro; }
113

Callers

nothing calls this directly

Calls 2

getFullPathFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected