1 2 @import DependsOnModule; 3 4 // RUN: rm -rf %t 5 // RUN: %clang_cc1 -w -Wunused -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t -F %S/Inputs -DBLARG -DWIBBLE=WOBBLE -fmodule-feature myfeature %s 6 // RUN: %clang_cc1 -module-file-info %t/DependsOnModule.pcm | FileCheck %s 7 8 // CHECK: Generated by this Clang: 9 10 // CHECK: Module name: DependsOnModule 11 // CHECK: Module map file: {{.*}}DependsOnModule.framework{{[/\\]}}module.map 12 13 // CHECK: Language options: 14 // CHECK: C99: Yes 15 // CHECK: Objective-C 1: Yes 16 // CHECK: modules extension to C: Yes 17 // CHECK: Module features: 18 // CHECK: myfeature 19 20 // CHECK: Target options: 21 // CHECK: Triple: 22 // CHECK: CPU: 23 // CHECK: ABI: 24 25 // CHECK: Diagnostic options: 26 // CHECK: IgnoreWarnings: Yes 27 // CHECK: Diagnostic flags: 28 // CHECK: -Wunused 29 30 // CHECK: Header search options: 31 // CHECK: System root [-isysroot=]: '/' 32 // CHECK: Use builtin include directories [-nobuiltininc]: Yes 33 // CHECK: Use standard system include directories [-nostdinc]: No 34 // CHECK: Use standard C++ include directories [-nostdinc++]: Yes 35 // CHECK: Use libc++ (rather than libstdc++) [-stdlib=]: 36 37 // CHECK: Preprocessor options: 38 // CHECK: Uses compiler/target-specific predefines [-undef]: Yes 39 // CHECK: Uses detailed preprocessing record (for indexing): No 40 // CHECK: Predefined macros: 41 // CHECK: -DBLARG 42 // CHECK: -DWIBBLE=WOBBLE 43