diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-13 01:58:03 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-13 01:58:03 -0700 |
commit | e5f568a49f2bbc69a1fc30be818613e0c7fe0499 (patch) | |
tree | 1af704cf2d73455db936d634e5a5c8e1f01300c1 /polly | |
parent | 7c3cda551ac702de4eb8899180aa715896020d43 (diff) | |
download | llvm-e5f568a49f2bbc69a1fc30be818613e0c7fe0499.zip llvm-e5f568a49f2bbc69a1fc30be818613e0c7fe0499.tar.gz llvm-e5f568a49f2bbc69a1fc30be818613e0c7fe0499.tar.bz2 |
Use has_value instead of hasValue (NFC)
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Exchange/JSONExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<StringRef> 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()); |