File: offload_apple.c

package info (click to toggle)
iwyu 8.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,336 kB
  • sloc: cpp: 17,440; python: 6,416; ansic: 1,307; sh: 55; makefile: 29
file content (21 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===--- offload_apple.c - test input file for IWYU -----------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// Check that IWYU ignores the extra offload compiler job produced when
// compiling for Apple's HIP.

// IWYU_ARGS: -target arm64-apple-macosx11.0.0 -x hip -nogpulib -nogpuinc

// IWYU~: ignoring offload job for device toolchain: hip

/**** IWYU_SUMMARY(0)

(tests/driver/offload_apple.c has correct #includes/fwd-decls)

***** IWYU_SUMMARY */