mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user