InclusionDirective takes an clang::OptionalFileEntryRef

This commit is contained in:
Jonas Hahnfeld 2023-07-10 08:37:18 +02:00 committed by jenkins
parent 490a3a9359
commit fb4be6f374
5 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@ namespace cling {
llvm::StringRef FileName,
bool IsAngled,
clang::CharSourceRange FilenameRange,
const clang::FileEntry *File,
clang::OptionalFileEntryRef File,
llvm::StringRef SearchPath,
llvm::StringRef RelativePath,
const clang::Module *Imported,

View File

@ -107,7 +107,7 @@ namespace cling {
llvm::StringRef /*FileName*/,
bool /*IsAngled*/,
clang::CharSourceRange /*FilenameRange*/,
const clang::FileEntry* /*File*/,
clang::OptionalFileEntryRef /*File*/,
llvm::StringRef /*SearchPath*/,
llvm::StringRef /*RelativePath*/,
const clang::Module* /*Imported*/,

View File

@ -333,7 +333,7 @@ namespace cling {
llvm::StringRef /*FileName*/,
bool /*IsAngled*/,
clang::CharSourceRange /*FilenameRange*/,
const clang::FileEntry *File,
clang::OptionalFileEntryRef File,
llvm::StringRef /*SearchPath*/,
llvm::StringRef /*RelativePath*/,
const clang::Module */*Imported*/,
@ -342,7 +342,7 @@ namespace cling {
if (!File)
return;
auto found = m_Map.find(File);
auto found = m_Map.find(*File);
if (found == m_Map.end())
return; // nothing to do, file not referred in any annotation

View File

@ -40,7 +40,7 @@ namespace cling {
llvm::StringRef FileName,
bool IsAngled,
clang::CharSourceRange FilenameRange,
const clang::FileEntry *File,
clang::OptionalFileEntryRef File,
llvm::StringRef SearchPath,
llvm::StringRef RelativePath,
const clang::Module *Imported,

View File

@ -31,7 +31,7 @@ namespace cling {
const clang::Token& IncludeTok,
llvm::StringRef FileName, bool IsAngled,
clang::CharSourceRange FilenameRange,
const clang::FileEntry* File,
clang::OptionalFileEntryRef File,
llvm::StringRef SearchPath,
llvm::StringRef RelativePath,
const clang::Module* Imported,