blob: 1b0a838bf823843eaf3c8667a3f07ae47e84c5fe [file] [log] [blame]
Douglas Gregorc544ba02013-03-27 16:47:18 +00001
2@import DependsOnModule;
3
4// RUN: rm -rf %t
Stephen Hines6bcf27b2014-05-29 04:14:42 -07005// RUN: %clang_cc1 -w -Wunused -fmodules -fdisable-module-hash -fmodules-cache-path=%t -F %S/Inputs -DBLARG -DWIBBLE=WOBBLE %s
Douglas Gregorc544ba02013-03-27 16:47:18 +00006// RUN: %clang_cc1 -module-file-info %t/DependsOnModule.pcm | FileCheck %s
7
8// CHECK: Generated by this Clang:
9
Stephen Hines6bcf27b2014-05-29 04:14:42 -070010// CHECK: Module name: DependsOnModule
11// CHECK: Module map file: {{.*}}DependsOnModule.framework{{[/\\]}}module.map
12
Douglas Gregorc544ba02013-03-27 16:47:18 +000013// CHECK: Language options:
14// CHECK: C99: Yes
15// CHECK: Objective-C 1: Yes
16// CHECK: modules extension to C: Yes
17
18// CHECK: Target options:
19// CHECK: Triple:
Stephen Hines176edba2014-12-01 14:53:08 -080020// CHECK: CPU:
21// CHECK: ABI:
Stephen Hines6bcf27b2014-05-29 04:14:42 -070022
23// CHECK: Diagnostic options:
24// CHECK: IgnoreWarnings: Yes
Stephen Hines176edba2014-12-01 14:53:08 -080025// CHECK: Diagnostic flags:
Stephen Hines6bcf27b2014-05-29 04:14:42 -070026// CHECK: -Wunused
Douglas Gregorc544ba02013-03-27 16:47:18 +000027
28// CHECK: Header search options:
29// CHECK: System root [-isysroot=]: '/'
30// CHECK: Use builtin include directories [-nobuiltininc]: Yes
Stephen Hines176edba2014-12-01 14:53:08 -080031// CHECK: Use standard system include directories [-nostdinc]: No
Douglas Gregorc544ba02013-03-27 16:47:18 +000032// CHECK: Use standard C++ include directories [-nostdinc++]: Yes
33// CHECK: Use libc++ (rather than libstdc++) [-stdlib=]:
34
35// CHECK: Preprocessor options:
36// CHECK: Uses compiler/target-specific predefines [-undef]: Yes
37// CHECK: Uses detailed preprocessing record (for indexing): No
38// CHECK: Predefined macros:
39// CHECK: -DBLARG
40// CHECK: -DWIBBLE=WOBBLE