Skip to content

Commit 9c1b205

Browse files
boomanaiden154augusto2112
authored andcommitted
[Clang][OpenMP] Make test use clang_cc1 (llvm#169233)
This test does not actually need to use the clang driver. Using the driver means that the environment plays much more into the tests results. We ran into a situation where the driver decided not to pass -fopenmp to the cc1 invocation, causing the test to fail. This also makes the test more consistent with the other OpenMP tests and should make it slightly faster (no subprocess invocation).
1 parent e11f503 commit 9c1b205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/OpenMP/parallel_default_variableCategory_codegen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -Xclang -verify -Wno-vla -fopenmp -fopenmp-version=60 -x c++ -S -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=60 -x c++ -emit-llvm %s -o - | FileCheck %s
22
// expected-no-diagnostics
33
#ifndef HEADER
44
#define HEADER

0 commit comments

Comments
 (0)