mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
FileEntry to FileEntryRef updates
This commit is contained in:
@@ -864,7 +864,7 @@ static void setLocationInfoForClangNode(ClangNode ClangNode,
|
||||
std::pair<clang::FileID, unsigned> Decomp =
|
||||
ClangSM.getDecomposedLoc(CharRange.getBegin());
|
||||
if (!Decomp.first.isInvalid()) {
|
||||
if (auto FE = ClangSM.getFileEntryForID(Decomp.first)) {
|
||||
if (auto FE = ClangSM.getFileEntryRefForID(Decomp.first)) {
|
||||
Location.Filename = FE->getName();
|
||||
|
||||
std::pair<clang::FileID, unsigned> EndDecomp =
|
||||
|
||||
Reference in New Issue
Block a user