[cfe-commits] r145941 - in /cfe/trunk: include/clang/Basic/ lib/Lex/ test/Modules/ test/Modules/Inputs/DependsOnModule.framework/ test/Modules/Inputs/DependsOnModule.framework/Frameworks/ test/Modules/Inputs/DependsOnModule.framework/Frameworks/S

Francois Pichet pichet2000 at gmail.com
Wed Dec 7 23:57:09 PST 2011


On Tue, Dec 6, 2011 at 12:16 PM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Tue Dec  6 11:16:41 2011
> New Revision: 145941
>
> URL: http://llvm.org/viewvc/llvm-project?rev=145941&view=rev
> Log:
> Implement modules support for subframeworks (aka embedded
> frameworks). A submodule can now be labeled as a "framework", and
> header search will look into the appropriate Headers/PrivateHeaders
> subdirectories for named headers.
>
>

Hi, On MSVC:

2>  FAIL: Clang :: Modules/auto-module-import.m (2300 of 9619)
2>  ******************** TEST 'Clang :: Modules/auto-module-import.m'
FAILED ********************
2>  Script:
2>  --
2>  rm -rf C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\auto-module-import.m.tmp
2>  C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE -cc1
-internal-isystem
C:/dev/llvm/llvm_trunk2/bin/Release/../lib/clang/3.1/include
-Wauto-import -fmodule-cache-path
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\auto-module-import.m.tmp
-fauto-module-import -F
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules/Inputs
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\auto-module-import.m
-verify
2>  --
2>  Exit Code: 1
2>  Command Output (stdout):
2>  --
2>  Command 0: "rm" "-rf"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\auto-module-import.m.tmp"
2>  Command 0 Result: 0
2>  Command 0 Output:
2>
2>
2>  Command 0 Stderr:
2>
2>
2>  Command 1: "C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE" "-cc1"
"-internal-isystem"
"C:/dev/llvm/llvm_trunk2/bin/Release/../lib/clang/3.1/include"
"-Wauto-import" "-fmodule-cache-path"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\auto-module-import.m.tmp"
"-fauto-module-import" "-F"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules/Inputs"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\auto-module-import.m"
"-verify"
2>  Command 1 Result: 1
2>  Command 1 Output:
2>
2>
2>  Command 1 Stderr:
2>CUSTOMBUILD : error : 'error' diagnostics seen but not expected:
2>    Line 30: use of undeclared identifier 'sub_framework_other'
2>  1 error generated.
2>
2>
2>  --
2>
2>  ********************
2>  FAIL: Clang :: Modules/subframeworks.m (2320 of 9619)
2>  ******************** TEST 'Clang :: Modules/subframeworks.m'
FAILED ********************
2>  Script:
2>  --
2>  rm -rf C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\subframeworks.m.tmp
2>  C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE -cc1
-internal-isystem
C:/dev/llvm/llvm_trunk2/bin/Release/../lib/clang/3.1/include
-Wauto-import -fmodule-cache-path
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\subframeworks.m.tmp
-fauto-module-import -F
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules/Inputs
C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\subframeworks.m
-verify
2>  --
2>  Exit Code: 1
2>  Command Output (stdout):
2>  --
2>  Command 0: "rm" "-rf"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\subframeworks.m.tmp"
2>  Command 0 Result: 0
2>  Command 0 Output:
2>
2>
2>  Command 0 Stderr:
2>
2>
2>  Command 1: "C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE" "-cc1"
"-internal-isystem"
"C:/dev/llvm/llvm_trunk2/bin/Release/../lib/clang/3.1/include"
"-Wauto-import" "-fmodule-cache-path"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\Output\subframeworks.m.tmp"
"-fauto-module-import" "-F"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules/Inputs"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\Modules\subframeworks.m"
"-verify"
2>  Command 1 Result: 1
2>  Command 1 Output:
2>
2>
2>  Command 1 Stderr:
2>CUSTOMBUILD : error : 'error' diagnostics seen but not expected:
2>    Line 13: use of undeclared identifier 'sub_framework'
2>    Line 14: use of undeclared identifier 'sub_framework_other'
2>  2 errors generated.
2>
2>
2>  --
2>
2>  ********************

2>  Testing Time: 179.16s
2>  ********************
2>  Failing Tests (2):
2>      Clang :: Modules/auto-module-import.m
2>      Clang :: Modules/subframeworks.m




More information about the cfe-commits mailing list