diff options
Diffstat (limited to 'llvm/lib/FileCheck')
| -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 a08502e..5851cfc 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);    }  | 
