diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-11-01 19:51:33 +0000 |
|---|---|---|
| committer | Aiden Grossman <aidengrossman@google.com> | 2025-11-01 19:51:33 +0000 |
| commit | c1f7394c1888c12b56cbf437b4c0aceb2a448fd8 (patch) | |
| tree | 247d350c087af607a1db7c48d4839067991fc0e8 /llvm/lib/FileCheck/FileCheckImpl.h | |
| parent | f1528eba6a614787f5d896512b20702b9512294d (diff) | |
| parent | 2e5577a9d5db6b05cbb7ddca9ed508778e080d0e (diff) | |
Created using spr 1.3.7
Diffstat (limited to 'llvm/lib/FileCheck/FileCheckImpl.h')
| -rw-r--r-- | llvm/lib/FileCheck/FileCheckImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/FileCheck/FileCheckImpl.h b/llvm/lib/FileCheck/FileCheckImpl.h index a08502e4497e..5851cfc4b5d5 100644 --- a/llvm/lib/FileCheck/FileCheckImpl.h +++ b/llvm/lib/FileCheck/FileCheckImpl.h @@ -528,7 +528,7 @@ public: SMRange getRange() const { return Range; } static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg, - SMRange Range = std::nullopt) { + SMRange Range = {}) { return make_error<ErrorDiagnostic>( SM.GetMessage(Loc, SourceMgr::DK_Error, ErrMsg), Range); } |
