to determine files that have comnpilation or dependency problems. A new -display-file-lists option use this to display lists of good files (no compile errors), problem files, and a combined list with problem files preceded by a '#'. The problem files list can be used in the module map generation assistant mode to exclude problem files. The combined files list can be used during module map development. See added docs. llvm-svn: 241880
17 lines
565 B
Plaintext
17 lines
565 B
Plaintext
# RUN: not modularize -display-file-lists %S/Inputs/CompileError/module.modulemap 2>&1 | FileCheck %s
|
|
|
|
# CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}CompileError{{[/\\]}}HasError.h:1:9: error: unknown type name 'WithoutDep'
|
|
|
|
# CHECK: These are the files with possible errors:
|
|
|
|
# CHECK: Inputs/CompileError/HasError.h
|
|
|
|
# CHECK: These are the files with no detected errors:
|
|
|
|
# CHECK: Inputs/CompileError/Level1A.h
|
|
|
|
# CHECK: These are the combined files, with problem files preceded by #:
|
|
|
|
# CHECK: {{.*}}Inputs/CompileError/HasError.h
|
|
# CHECK: Inputs/CompileError/Level1A.h
|