Fix clangd's IndexAction for FileSkipped API update

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@370004 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/clangd/index/IndexAction.cpp b/clangd/index/IndexAction.cpp
index 6a3d641..be30ea6 100644
--- a/clangd/index/IndexAction.cpp
+++ b/clangd/index/IndexAction.cpp
@@ -103,10 +103,10 @@
   }
 
   // Sanity check to ensure we have already populated a skipped file.
-  void FileSkipped(const FileEntry &SkippedFile, const Token &FilenameTok,
+  void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok,
                    SrcMgr::CharacteristicKind FileType) override {
 #ifndef NDEBUG
-    auto URI = toURI(&SkippedFile);
+    auto URI = toURI(&SkippedFile.getFileEntry());
     if (!URI)
       return;
     auto I = IG.try_emplace(*URI);