Bug 1806771 - Adjust searchfox plugin to clang upstream changes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D165266
This commit is contained in:
@@ -180,7 +180,9 @@ public:
|
|||||||
StringRef FileName,
|
StringRef FileName,
|
||||||
bool IsAngled,
|
bool IsAngled,
|
||||||
CharSourceRange FileNameRange,
|
CharSourceRange FileNameRange,
|
||||||
#if CLANG_VERSION_MAJOR >= 15
|
#if CLANG_VERSION_MAJOR >= 16
|
||||||
|
OptionalFileEntryRef File,
|
||||||
|
#elif CLANG_VERSION_MAJOR >= 15
|
||||||
Optional<FileEntryRef> File,
|
Optional<FileEntryRef> File,
|
||||||
#else
|
#else
|
||||||
const FileEntry *File,
|
const FileEntry *File,
|
||||||
@@ -2088,7 +2090,9 @@ void PreprocessorHook::InclusionDirective(SourceLocation HashLoc,
|
|||||||
StringRef FileName,
|
StringRef FileName,
|
||||||
bool IsAngled,
|
bool IsAngled,
|
||||||
CharSourceRange FileNameRange,
|
CharSourceRange FileNameRange,
|
||||||
#if CLANG_VERSION_MAJOR >= 15
|
#if CLANG_VERSION_MAJOR >= 16
|
||||||
|
OptionalFileEntryRef File,
|
||||||
|
#elif CLANG_VERSION_MAJOR >= 15
|
||||||
Optional<FileEntryRef> File,
|
Optional<FileEntryRef> File,
|
||||||
#else
|
#else
|
||||||
const FileEntry *File,
|
const FileEntry *File,
|
||||||
|
|||||||
Reference in New Issue
Block a user