mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00
Bug 1806771 - Adjust searchfox plugin to clang upstream changes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D165266
This commit is contained in:
parent
92a0c0f3e1
commit
9f8177d6cb
@ -180,7 +180,9 @@ public:
|
||||
StringRef FileName,
|
||||
bool IsAngled,
|
||||
CharSourceRange FileNameRange,
|
||||
#if CLANG_VERSION_MAJOR >= 15
|
||||
#if CLANG_VERSION_MAJOR >= 16
|
||||
OptionalFileEntryRef File,
|
||||
#elif CLANG_VERSION_MAJOR >= 15
|
||||
Optional<FileEntryRef> File,
|
||||
#else
|
||||
const FileEntry *File,
|
||||
@ -2088,7 +2090,9 @@ void PreprocessorHook::InclusionDirective(SourceLocation HashLoc,
|
||||
StringRef FileName,
|
||||
bool IsAngled,
|
||||
CharSourceRange FileNameRange,
|
||||
#if CLANG_VERSION_MAJOR >= 15
|
||||
#if CLANG_VERSION_MAJOR >= 16
|
||||
OptionalFileEntryRef File,
|
||||
#elif CLANG_VERSION_MAJOR >= 15
|
||||
Optional<FileEntryRef> File,
|
||||
#else
|
||||
const FileEntry *File,
|
||||
|
Loading…
x
Reference in New Issue
Block a user