simple formatting changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8e779193bf
commit
c3b48505e2
26 changed files with 134 additions and 134 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly uses the new alternate functions
|
/* This testcase checks whether SWIG correctly uses the new alternate functions
|
||||||
declarations and definitions introduced in C++0x. */
|
declarations and definitions introduced in C++0x. */
|
||||||
%module cpp0x_alternate_function_syntax
|
%module cpp0x_alternate_function_syntax
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This interface tests whether Swig supports the new "constexpr" keyword
|
/* This interface tests whether SWIG supports the new "constexpr" keyword
|
||||||
introduced by C++0x.
|
introduced by C++0x.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_constexpr
|
%module cpp0x_constexpr
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This test checks whether Swig correctly parses the new delegating
|
/* This test checks whether SWIG correctly parses the new delegating
|
||||||
constructors and constructor inheritance.
|
constructors and constructor inheritance.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_constructors
|
%module cpp0x_constructors
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
/* This testcase checks whether Swig correctly uses the new 'decltype()'
|
/* This testcase checks whether SWIG correctly uses the new 'decltype()'
|
||||||
introduced in C++0x.
|
introduced in C++0x.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_decltype
|
%module cpp0x_decltype
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
class A {
|
class A {
|
||||||
public:
|
public:
|
||||||
int i;
|
int i;
|
||||||
decltype(i) j;
|
decltype(i) j;
|
||||||
|
|
||||||
|
|
@ -15,5 +15,5 @@ public:
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the default and delete
|
/* This testcase checks whether SWIG correctly parses the default and delete
|
||||||
keywords which keep or remove default C++ object construction functions. */
|
keywords which keep or remove default C++ object construction functions. */
|
||||||
%module cpp0x_default_delete
|
%module cpp0x_default_delete
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This interface checks whether Swig correctly compiles the new
|
/* This interface checks whether SWIG correctly compiles the new
|
||||||
explicit conversion operators feature introduced in C++0x.
|
explicit conversion operators feature introduced in C++0x.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_explicit_conversion_operators
|
%module cpp0x_explicit_conversion_operators
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses function objects
|
/* This testcase checks whether SWIG correctly parses function objects
|
||||||
and the templates for the functions (signature).
|
and the templates for the functions (signature).
|
||||||
Function objects are objects which overload the operator() function. */
|
Function objects are objects which overload the operator() function. */
|
||||||
%module cpp0x_function_objects
|
%module cpp0x_function_objects
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly uses the new initializer_list
|
/* This testcase checks whether SWIG correctly uses the new initializer_list
|
||||||
introduced in C++0x. */
|
introduced in C++0x. */
|
||||||
%module cpp0x_initializer_list
|
%module cpp0x_initializer_list
|
||||||
%warnfilter(520) A;
|
%warnfilter(520) A;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* This testcase checks whether Swig correctly parses the lambda expressions
|
/* This testcase checks whether SWIG correctly parses the lambda expressions
|
||||||
and closure syntax introduced in C++0x.
|
and closure syntax introduced in C++0x.
|
||||||
Swig supports only lambda syntax and doesn't produce any wrapper code for
|
SWIG supports only lambda syntax and doesn't produce any wrapper code for
|
||||||
this.
|
this.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_lambda_functions
|
%module cpp0x_lambda_functions
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly treats the new nullptr_t
|
/* This testcase checks whether SWIG correctly treats the new nullptr_t
|
||||||
constant introduced in C++0x.
|
constant introduced in C++0x.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
/* This module tests whether Swig correctly parses:
|
/* This module tests whether SWIG correctly parses:
|
||||||
- ordinary strings (char_t)
|
- ordinary strings (char_t)
|
||||||
- L wide strings (wchar_t)
|
- L wide strings (wchar_t)
|
||||||
- u8 unicode8 strings (char_t)
|
- u8 unicode8 strings (char_t)
|
||||||
- u unicode16 strings (char16_t)
|
- u unicode16 strings (char16_t)
|
||||||
- U unicode32 strings (char32_t)
|
- U unicode32 strings (char32_t)
|
||||||
|
|
||||||
This module also tests whether Swig correctly parses custom string delimiters.
|
This module also tests whether SWIG correctly parses custom string delimiters.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_raw_string_literals
|
%module cpp0x_raw_string_literals
|
||||||
%warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG) bb;
|
%warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG) bb;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly uses the new result_of class
|
/* This testcase checks whether SWIG correctly uses the new result_of class
|
||||||
and its templating capabilities introduced in C++0x. */
|
and its templating capabilities introduced in C++0x. */
|
||||||
%module cpp0x_result_of
|
%module cpp0x_result_of
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the double ampersand &&
|
/* This testcase checks whether SWIG correctly parses the double ampersand &&
|
||||||
move operator which is currently mapped to the reference & operator. */
|
move operator which is currently mapped to the reference & operator. */
|
||||||
%module cpp0x_rvalue_reference
|
%module cpp0x_rvalue_reference
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly uses the sizeof() on the
|
/* This testcase checks whether SWIG correctly uses the sizeof() on the
|
||||||
concrete objects and not only types introduced in C++0x. */
|
concrete objects and not only types introduced in C++0x. */
|
||||||
%module cpp0x_sizeof_object
|
%module cpp0x_sizeof_object
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly uses the new general-purpose
|
/* This testcase checks whether SWIG correctly uses the new general-purpose
|
||||||
smart pointers introduced in C++0x:
|
smart pointers introduced in C++0x:
|
||||||
- shared_ptr
|
- shared_ptr
|
||||||
- weak_ptr
|
- weak_ptr
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This test case checks whether swig correctly parses and ignores the
|
/* This test case checks whether SWIG correctly parses and ignores the
|
||||||
keywords "static_assert()" inside the class or struct.
|
keywords "static_assert()" inside the class or struct.
|
||||||
*/
|
*/
|
||||||
%module cpp0x_static_assert
|
%module cpp0x_static_assert
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig produces the correct wrapper for the
|
/* This testcase checks whether SWIG produces the correct wrapper for the
|
||||||
strongly typed enums. Enums with the same type are comparable. Enum classes
|
strongly typed enums. Enums with the same type are comparable. Enum classes
|
||||||
require support for nested classes. */
|
require support for nested classes. */
|
||||||
%module cpp0x_strongly_typed_enumerations
|
%module cpp0x_strongly_typed_enumerations
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This interface checks whether Swig supports the new double angled brackets
|
/* This interface checks whether SWIG supports the new double angled brackets
|
||||||
in the template syntax without having a space inbetween. This feature was
|
in the template syntax without having a space inbetween. This feature was
|
||||||
introduced in new C++0x standard.
|
introduced in new C++0x standard.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This unit tests whether Swig correctly parses the code and makes wrappers
|
/* This unit tests whether SWIG correctly parses the code and makes wrappers
|
||||||
for the new C++0x extern templates (explicit template instantiation without
|
for the new C++0x extern templates (explicit template instantiation without
|
||||||
using the translation unit).
|
using the translation unit).
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the template aliasing. */
|
/* This testcase checks whether SWIG correctly parses the template aliasing. */
|
||||||
%module cpp0x_template_typedefs
|
%module cpp0x_template_typedefs
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the 'thread_local'
|
/* This testcase checks whether SWIG correctly parses the 'thread_local'
|
||||||
keyword before the member type and name. */
|
keyword before the member type and name. */
|
||||||
|
|
||||||
%module cpp0x_thread_local
|
%module cpp0x_thread_local
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig syntactically correctly parses the curly
|
/* This testcase checks whether SWIG syntactically correctly parses the curly
|
||||||
brackets {} for uniform member initialization. */
|
brackets {} for uniform member initialization. */
|
||||||
%module cpp0x_uniform_initialization
|
%module cpp0x_uniform_initialization
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the support for types
|
/* This testcase checks whether SWIG correctly parses the support for types
|
||||||
without the defined trivial constructor in the unions. */
|
without the defined trivial constructor in the unions. */
|
||||||
%module cpp0x_unrestricted_unions
|
%module cpp0x_unrestricted_unions
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses the user-defined literals
|
/* This testcase checks whether SWIG correctly parses the user-defined literals
|
||||||
for the string introduced in C++0x. */
|
for the string introduced in C++0x. */
|
||||||
%module cpp0x_userdefined_literals
|
%module cpp0x_userdefined_literals
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* This testcase checks whether Swig correctly parses and generates the code
|
/* This testcase checks whether SWIG correctly parses and generates the code
|
||||||
for variadic templates. This covers the variadic number of arguments inside
|
for variadic templates. This covers the variadic number of arguments inside
|
||||||
the template brackets, new functions sizeof... and multiple inheritance
|
the template brackets, new functions sizeof... and multiple inheritance
|
||||||
using variadic number of classes.
|
using variadic number of classes.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue