[PATCH] D153123: Fix diag for read-only target features
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 16 05:11:30 PDT 2023
arsenm added inline comments.
================
Comment at: clang/test/OpenMP/driver-openmp-amdgpu.c:8
+// RUN: --offload-device-only -o - 2>&1 | FileCheck --check-prefix=CHECK %s
+// CHECK-NOT: warning: feature flag {{.*}} is ignored since the feature is read only
----------------
Can you use -verify and expected-no-diagnostics? CHECK-NOT is really fragile
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153123/new/
https://reviews.llvm.org/D153123
More information about the cfe-commits
mailing list