Add REQUIRES: staticanalyzer to some tests using clang -analyze

Otherwise they fail in builds configured with
-DCLANG_ENABLE_STATIC_ANALYZER=OFF. Follow-up to
3c9988f85d.
This commit is contained in:
Hans Wennborg
2023-08-31 09:35:48 +02:00
parent 4b40ced4e5
commit 1968f0d798
9 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
// REQUIRES: amdgpu-registered-target
// REQUIRES: amdgpu-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: amdgpu-registered-target
// REQUIRES: amdgpu-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: amdgpu-registered-target
// REQUIRES: amdgpu-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: nvptx-registered-target
// REQUIRES: nvptx-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: nvptx-registered-target
// REQUIRES: nvptx-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: nvptx-registered-target
// REQUIRES: nvptx-registered-target, staticanalyzer
/**
* The first four lines test that a warning is produced when enabling

View File

@@ -1,4 +1,4 @@
// REQUIRES: x86-registered-target
// REQUIRES: x86-registered-target, staticanalyzer
// RUN: %clang_cc1 -fopenmp -triple x86_64-pc-linux-gnu -fopenmp-is-target-device -fcxx-exceptions -fexceptions %s -emit-llvm -S -verify -Wopenmp-target-exception -analyze
#pragma omp declare target

View File

@@ -1,4 +1,4 @@
// REQUIRES: x86-registered-target
// REQUIRES: x86-registered-target, staticanalyzer
// RUN: %clang_cc1 -fopenmp -triple x86_64-pc-linux-gnu -fopenmp-is-target-device -fcxx-exceptions -fexceptions %s -emit-llvm -S -verify -Wopenmp-target-exception -analyze
#pragma omp declare target

View File

@@ -1,4 +1,4 @@
// REQUIRES: x86-registered-target
// REQUIRES: x86-registered-target, staticanalyzer
// RUN: %clang_cc1 -fopenmp -triple x86_64-pc-linux-gnu -fopenmp-is-target-device -fcxx-exceptions -fexceptions %s -emit-llvm -S -verify -Wopenmp-target-exception -analyze
#pragma omp declare target