summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/barrier_ast_print.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-05-20 04:24:19 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-05-20 04:24:19 +0000
commitdb39021ceebbd311125785d407402b74ec668528 (patch)
tree6a1a9692eb1269740cf03e7ebf02f9d5626dd4cb /clang/test/OpenMP/barrier_ast_print.cpp
parent16dc7b68c4d90cd3abac7015c27030f3d6c710f9 (diff)
downloadbcm5719-llvm-db39021ceebbd311125785d407402b74ec668528.tar.gz
bcm5719-llvm-db39021ceebbd311125785d407402b74ec668528.zip
[OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)
-fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified). Differential Revision: http://reviews.llvm.org/D9736 llvm-svn: 237769
Diffstat (limited to 'clang/test/OpenMP/barrier_ast_print.cpp')
-rw-r--r--clang/test/OpenMP/barrier_ast_print.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/OpenMP/barrier_ast_print.cpp b/clang/test/OpenMP/barrier_ast_print.cpp
index 0ce344f6d99..fbb478bfb6b 100644
--- a/clang/test/OpenMP/barrier_ast_print.cpp
+++ b/clang/test/OpenMP/barrier_ast_print.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -verify -fopenmp=libiomp5 -ast-print %s | FileCheck %s
-// RUN: %clang_cc1 -fopenmp=libiomp5 -x c++ -std=c++11 -emit-pch -o %t %s
-// RUN: %clang_cc1 -fopenmp=libiomp5 -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print | FileCheck %s
+// RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
+// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s
+// RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print | FileCheck %s
// expected-no-diagnostics
#ifndef HEADER
OpenPOWER on IntegriCloud