File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class FileLocUtil
9191 if (fid.isInvalid ())
9292 return std::string ();
9393
94- const clang::FileEntry* fileEntry = _clangSrcMan.getFileEntryForID (fid);
94+ const clang::OptionalFileEntryRef fileEntry = _clangSrcMan.getFileEntryRefForID (fid);
9595 if (!fileEntry)
9696 return std::string ();
9797
Original file line number Diff line number Diff line change @@ -1735,7 +1735,7 @@ class ClangASTVisitor : public clang::RecursiveASTVisitor<ClangASTVisitor>
17351735 clang::DynTypedNodeList parents
17361736 = _astContext.getParents (*expr_);
17371737
1738- const clang::ast_type_traits:: DynTypedNode& parent = parents[0 ];
1738+ const clang::DynTypedNode& parent = parents[0 ];
17391739
17401740 if (const clang::BinaryOperator* op = parent.get <clang::BinaryOperator>())
17411741 {
Original file line number Diff line number Diff line change @@ -61,10 +61,11 @@ void PPIncludeCallback::InclusionDirective(
6161 clang::StringRef fileName_,
6262 bool ,
6363 clang::CharSourceRange filenameRange_,
64- const clang::FileEntry* ,
64+ clang::OptionalFileEntryRef ,
6565 clang::StringRef searchPath_,
6666 clang::StringRef,
6767 const clang::Module*,
68+ bool ,
6869 clang::SrcMgr::CharacteristicKind)
6970{
7071 if (searchPath_.empty ())
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ class PPIncludeCallback : public clang::PPCallbacks
3838 clang::StringRef FileName,
3939 bool IsAngled,
4040 clang::CharSourceRange FilenameRange,
41- const clang::FileEntry * File,
41+ clang::OptionalFileEntryRef File,
4242 clang::StringRef SearchPath,
4343 clang::StringRef RelativePath,
4444 const clang::Module *Imported,
45+ bool ModuleImported,
4546 clang::SrcMgr::CharacteristicKind FileType) override ;
4647
4748private:
You can’t perform that action at this time.
0 commit comments