llvm-project/clang/test/Tooling/clang-check-offload.cpp
Michael Liao 1ccb39bbd8 [tooling] Teach Tooling to understand compilation with offloading.
Summary:
- So far, we only recognize the host compilation with offloading and
  skip the offloading part.

Reviewers: tra, yaxunl

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68660

llvm-svn: 374470
2019-10-10 23:05:55 +00:00

5 lines
105 B
C++

// RUN: not clang-check "%s" -- -c -x hip -nogpulib 2>&1 | FileCheck %s
// CHECK: C++ requires
invalid;