[cfe-commits] r128127 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Parse/ include/clang/Sema/ include/clang/Serialization/ lib/AST/ lib/Basic/ lib/CodeGen/ lib/Parse/ lib/Sema/ lib/Serialization/ test/CodeGenObjC/ test/P

Francois Pichet pichet2000 at gmail.com
Tue Mar 22 18:31:32 PDT 2011


On Tue, Mar 22, 2011 at 8:50 PM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Tue Mar 22 19:50:03 2011
> New Revision: 128127
>
> URL: http://llvm.org/viewvc/llvm-project?rev=128127&view=rev
> Log:
> Implement a new 'availability' attribute, that allows one to specify
> which versions of an OS provide a certain facility. For example,
>

this fail 2 tests with MSVC 2010:

log:
4>  FAIL: Clang :: Sema/attr-deprecated-message.c (1949 of 2951)
4>  ******************** TEST 'Clang ::
Sema/attr-deprecated-message.c' FAILED ********************
4>  Script:
4>  --
4>  C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE -cc1
C:\dev\llvm\llvm_trunk\tools\clang\test\Sema\attr-deprecated-message.c
-verify -fsyntax-only
4>  --
4>  Exit Code: 1
4>  Command Output (stdout):
4>  --
4>  Command 0: "C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE" "-cc1"
"C:\dev\llvm\llvm_trunk\tools\clang\test\Sema\attr-deprecated-message.c"
"-verify" "-fsyntax-only"
4>  Command 0 Result: 1
4>  Command 0 Output:
4>
4>
4>  Command 0 Stderr:
4>CUSTOMBUILD : error : 'warning' diagnostics seen but not expected:
4>    Line 8: 'INT1' is deprecated:     Line 12: 'INT1' is deprecated:
    Line 16: 'INT1' is deprecated:     Line 21: 'Color' is deprecated:
    Line 28: 'f1' is deprecated: pá~┌bCUSTOMBUILD : error :
'warning' diagnostics expected but not seen:
4>    Line 8: 'INT1' is deprecated: Please avoid INT1
4>    Line 12: 'INT1' is deprecated: Please avoid INT1
4>    Line 16: 'INT1' is deprecated: Please avoid INT1
4>    Line 21: 'Color' is deprecated: Please avoid Color
4>    Line 28: 'f1' is deprecated: Please avoid f1
4>  10 errors generated.
4>
4>
4>  --
4>
4>  ********************
4>  FAIL: Clang :: SemaObjC/ignore-weakimport-method.m (2562 of 2951)
4>  ******************** TEST 'Clang ::
SemaObjC/ignore-weakimport-method.m' FAILED ********************
4>  Script:
4>  --
4>  C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE -cc1  -fsyntax-only
-verify C:\dev\llvm\llvm_trunk\tools\clang\test\SemaObjC\ignore-weakimport-method.m
4>  --
4>  Exit Code: 1
4>  Command Output (stdout):
4>  --
4>  Command 0: "C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE" "-cc1"
"-fsyntax-only" "-verify"
"C:\dev\llvm\llvm_trunk\tools\clang\test\SemaObjC\ignore-weakimport-method.m"
4>  Command 0 Result: 1
4>  Command 0 Output:
4>
4>
4>  Command 0 Stderr:
4>CUSTOMBUILD : error : 'warning' diagnostics seen but not expected:
4>    Line 4: 'weak_import' attribute only applies to variables and functions
4>    Line 5: 'weak_import' attribute only applies to variables and functions
4>  2 errors generated.
4>
4>
4>  --
4>
4>  ********************
4>  FAIL: Clang :: SemaTemplate/temp.cpp (2920 of 2951)
4>  ******************** TEST 'Clang :: SemaTemplate/temp.cpp' FAILED
********************
4>  Script:
4>  --
4>  C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE -cc1 -fsyntax-only
-verify C:\dev\llvm\llvm_trunk\tools\clang\test\SemaTemplate\temp.cpp
4>  --
4>  Exit Code: 1
4>  Command Output (stdout):
4>  --
4>  Command 0: "C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE" "-cc1"
"-fsyntax-only" "-verify"
"C:\dev\llvm\llvm_trunk\tools\clang\test\SemaTemplate\temp.cpp"
4>  Command 0 Result: 1
4>  Command 0 Output:
4>
4>
4>  Command 0 Stderr:
4>CUSTOMBUILD : error : 'error' diagnostics seen but not expected:
4>    Line 16: 'Base' following the 'template' keyword does not refer
to a template
4>CUSTOMBUILD : error : 'error' diagnostics expected but not seen:
4>    Line 16: found in multiple base classes of different types
4>CUSTOMBUILD : error : 'note' diagnostics expected but not seen:
4>    Line 11: member found
4>    Line 12: member found
4>  4 errors generated.
4>
4>
4>  --
4>  Failing Tests (2):
4>      Clang :: Sema/attr-deprecated-message.c
4>      Clang :: SemaObjC/ignore-weakimport-method.m




More information about the cfe-commits mailing list