summaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheckImpl.h
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-11-01 19:51:33 +0000
committerAiden Grossman <aidengrossman@google.com>2025-11-01 19:51:33 +0000
commitc1f7394c1888c12b56cbf437b4c0aceb2a448fd8 (patch)
tree247d350c087af607a1db7c48d4839067991fc0e8 /llvm/lib/FileCheck/FileCheckImpl.h
parentf1528eba6a614787f5d896512b20702b9512294d (diff)
parent2e5577a9d5db6b05cbb7ddca9ed508778e080d0e (diff)
Created using spr 1.3.7
Diffstat (limited to 'llvm/lib/FileCheck/FileCheckImpl.h')
-rw-r--r--llvm/lib/FileCheck/FileCheckImpl.h2
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);
}