File tree 9 files changed +11
-11
lines changed
9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
2
void bar ();
3
3
4
4
template <typename T>
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only %s
1
+ // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ %s
2
2
3
3
struct Base {
4
4
virtual void f () const {}
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only %s
1
+ // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ %s
2
2
3
3
struct Base {
4
4
virtual void f () const {}
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only %s
1
+ // RUN: %clang_cc1 -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ %s
2
2
3
3
struct Base {
4
4
virtual void f () const {}
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
2
3
3
// This recursive function is not called from sycl kernel,
4
4
// so it should not be diagnosed.
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
2
3
3
// This recursive function is not called from sycl kernel,
4
4
// so it should not be diagnosed.
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
2
3
3
// This recursive function is not called from sycl kernel,
4
4
// so it should not be diagnosed.
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
2
3
3
// This recursive function is not called from sycl kernel,
4
4
// so it should not be diagnosed.
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
2
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -fno-sycl-allow-func-ptr -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
3
- // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -DALLOW_FP=1 -fsycl-allow-func-ptr -Wno-return-type -verify -fsyntax-only -x c++ -emit-llvm-only - std=c++17 %s
1
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
2
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -fno-sycl-allow-func-ptr -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
3
+ // RUN: %clang_cc1 -fcxx-exceptions -fsycl-is-device -DALLOW_FP=1 -fsycl-allow-func-ptr -Wno-return-type -verify -fsyntax-only -x c++ -std=c++17 %s
4
4
5
5
6
6
namespace std {
You can’t perform that action at this time.
0 commit comments