[Openmp-commits] [openmp] [OpenMP] Add ompTest library to OpenMP (PR #147381)

Jan Patrick Lehr via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 5 03:05:03 PDT 2025


================
@@ -0,0 +1,587 @@
+//===- OmptAssertEvent.cpp - Assertion event implementations ----*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Implements assertion event CTORs, for generally all observable events.
+///
+//===----------------------------------------------------------------------===//
+
+#include "OmptAssertEvent.h"
+#include <omp-tools.h>
+
+using namespace omptest;
+
+const char *omptest::to_string(ObserveState State) {
----------------
jplehr wrote:

Why is this inconsistent with the other omptest names?
Inspired by some STL function?

https://github.com/llvm/llvm-project/pull/147381


More information about the Openmp-commits mailing list