InclusionDirective takes an clang::OptionalFileEntryRef
This commit is contained in:
parent
490a3a9359
commit
fb4be6f374
@ -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,
|
||||
|
@ -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*/,
|
||||
|
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user