| 98 | } |
| 99 | |
| 100 | std::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 | |
| 112 | bool LocIndex::isExpandedFromMacro() const { return FromMacro; } |
| 113 |
nothing calls this directly
no test coverage detected