From e5f568a49f2bbc69a1fc30be818613e0c7fe0499 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 13 Jul 2022 01:58:03 -0700 Subject: Use has_value instead of hasValue (NFC) --- polly/lib/Exchange/JSONExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polly') diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index e92055b..ca9c1b8 100644 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -290,7 +290,7 @@ static bool importSchedule(Scop &S, const json::Object &JScop, } Optional Schedule = statements[Index].getAsObject()->getString("schedule"); - assert(Schedule.hasValue() && + assert(Schedule.has_value() && "Schedules that contain extension nodes require special handling."); isl_map *Map = isl_map_read_from_str(S.getIslCtx().get(), Schedule.getValue().str().c_str()); -- cgit v1.1