diff options
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index a3bd74d..b8e7650 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/lib/Basic/SourceManager.cpp @@ -1976,7 +1976,8 @@ bool SourceManager::isInTheSameTranslationUnitImpl( auto FindSLocEntryAlloc = [this](FileID FID) { // Loaded FileIDs are negative, we store the lowest FileID from each // allocation, later allocations have lower FileIDs. - return llvm::lower_bound(LoadedSLocEntryAllocBegin, FID, std::greater{}); + return llvm::lower_bound(LoadedSLocEntryAllocBegin, FID, + std::greater<FileID>{}); }; // If both are loaded from different AST files. |