[cfe-commits] r152392 - in /cfe/trunk: include/clang/Basic/ include/clang/Sema/ lib/AST/ lib/Parse/ lib/Sema/ test/CXX/lex/lex.literal/lex.ext/ test/CodeGenCXX/ test/Parser/ test/SemaCXX/

Francois Pichet pichet2000 at gmail.com
Fri Mar 9 04:43:00 PST 2012


On Fri, Mar 9, 2012 at 3:00 AM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Fri Mar  9 02:00:36 2012
> New Revision: 152392
>
> URL: http://llvm.org/viewvc/llvm-project?rev=152392&view=rev
> Log:
> Support for raw and template forms of numeric user-defined literals,
> and lots of tidying up.
>
> Added:
>    cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p2.cpp


Using MSVC 2010:


2>  FAIL: Clang :: CXX/lex/lex.literal/lex.ext/p2.cpp (499 of 4406)
2>  ******************** TEST 'Clang ::
CXX/lex/lex.literal/lex.ext/p2.cpp' FAILED ********************
2>  Script:
2>  --
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
-fsyntax-only -std=c++11 -verify
C:\dev\llvm\llvm_trunk2\tools\clang\test\CXX\lex\lex.literal\lex.ext\p2.cpp
2>  --
2>  Exit Code: 1
2>  Command Output (stdout):
2>  --
2>  Command 0: "C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE" "-cc1"
"-internal-isystem"
"C:/dev/llvm/llvm_trunk2/bin/Release/../lib/clang/3.1/include"
"-fsyntax-only" "-std=c++11" "-verify"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\CXX\lex\lex.literal\lex.ext\p2.cpp"
2>  Command 0 Result: 1
2>  Command 0 Output:
2>
2>
2>  Command 0 Stderr:
2>CUSTOMBUILD : error : 'error' diagnostics expected but not seen:
2>    Line 8: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char *' and 'unsigned long'
2>    Line 9: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const wchar_t *' and 'unsigned long'
2>    Line 10: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char *' and 'unsigned long'
2>    Line 11: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char16_t *' and 'unsigned long'
2>    Line 12: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char32_t *' and 'unsigned long'
2>CUSTOMBUILD : error : 'error' diagnostics seen but not expected:
2>    Line 8: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char *' and 'unsigned int'
2>    Line 9: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const wchar_t *' and 'unsigned int'
2>    Line 10: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char *' and 'unsigned int'
2>    Line 11: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char16_t *' and 'unsigned int'
2>    Line 12: no matching literal operator for call to 'operator ""
_x' with arguments of types 'const char32_t *' and 'unsigned int'
2>  10 errors generated.
2>
2>
2>  --
2>
2>  ********************
2>
2>  Testing Time: 127.07s
2>  ********************
2>  Failing Tests (1):
2>      Clang :: CXX/lex/lex.literal/lex.ext/p2.cpp




More information about the cfe-commits mailing list