@ -381,11 +381,11 @@ struct DLL_API TestDelegates
@@ -381,11 +381,11 @@ struct DLL_API TestDelegates
} ;
namespace DelegateNamespace {
namespace Nested {
void DLL_API f1 ( void ( * ) ( ) ) ;
}
namespace Nested {
void DLL_API f1 ( void ( * ) ( ) ) ;
}
void DLL_API f2 ( void ( * ) ( ) ) ;
void DLL_API f2 ( void ( * ) ( ) ) ;
} // namespace DelegateNamespace
// Tests memory leaks in constructors
@ -480,35 +480,35 @@ class DLL_API SomeClassExtendingTheStruct : public SomeStruct
@@ -480,35 +480,35 @@ class DLL_API SomeClassExtendingTheStruct : public SomeStruct
} ;
namespace SomeNamespace {
class DLL_API NamespacedAbstractClass
{
public :
virtual void AbstractMethod ( ) = 0 ;
} ;
class DLL_API NamespacedAbstractClass
{
public :
virtual void AbstractMethod ( ) = 0 ;
} ;
class DLL_API NamespacedAbstractImpl
{
public :
virtual void AbstractMethod ( ) ;
} ;
class DLL_API NamespacedAbstractImpl
{
public :
virtual void AbstractMethod ( ) ;
} ;
class Inlines
{
public :
constexpr Inlines ( float param , const char * name ) { }
inline operator NamespacedAbstractImpl ( ) const { return NamespacedAbstractImpl ( ) ; }
class Inlines
{
public :
constexpr Inlines ( float param , const char * name ) { }
inline operator NamespacedAbstractImpl ( ) const { return NamespacedAbstractImpl ( ) ; }
protected :
void protectedInlined ( ) { }
} ;
protected :
void protectedInlined ( ) { }
} ;
constexpr Inlines constWithParams ( 5.f , " test " ) ;
constexpr Inlines constWithParams ( 5.f , " test " ) ;
class AbstractInlines
{
public :
virtual void hasVariadicArgs ( int regular , . . . ) = 0 ;
} ;
class AbstractInlines
{
public :
virtual void hasVariadicArgs ( int regular , . . . ) = 0 ;
} ;
} // namespace SomeNamespace
// Test operator overloads
@ -1004,64 +1004,64 @@ public:
@@ -1004,64 +1004,64 @@ public:
} ;
namespace boost {
template < class T >
struct is_member_pointer_cv
{
static const bool value = false ;
} ;
template < class T , class U >
struct is_member_pointer_cv < T U : : * >
{
static const bool value = true ;
} ;
// all of this below tests corner cases with type locations
template < class T >
struct make_tuple_traits
{
typedef T type ;
// commented away, see below (JJ)
// typedef typename IF<
// boost::is_function<T>::value,
// T&,
// T>::RET type;
} ;
template < class T >
struct is_member_pointer_cv
{
static const bool value = false ;
} ;
template < class T , class U >
struct is_member_pointer_cv < T U : : * >
{
static const bool value = true ;
} ;
namespace detail {
struct swallow_assign ;
typedef void ( detail : : swallow_assign : : * ignore_t ) ( ) ;
struct swallow_assign
{
swallow_assign ( ignore_t ( * ) ( ignore_t ) ) ;
template < typename T >
swallow_assign const & operator = ( const T & ) const ;
} ;
// all of this below tests corner cases with type locations
template < class T >
struct make_tuple_traits
{
typedef T type ;
swallow_assign : : swallow_assign ( ignore_t ( * ) ( ignore_t ) )
{
}
// commented away, see below (JJ)
// typedef typename IF<
// boost::is_function<T>::value,
// T&,
// T>::RET type;
} ;
namespace detail {
struct swallow_assign ;
typedef void ( detail : : swallow_assign : : * ignore_t ) ( ) ;
struct swallow_assign
{
swallow_assign ( ignore_t ( * ) ( ignore_t ) ) ;
template < typename T >
swallow_assign const & swallow_assign : : operator = ( const T & ) const
{
return * this ;
}
} // namespace detail
swallow_assign const & operator = ( const T & ) const ;
} ;
template < >
struct make_tuple_traits < detail : : ignore_t ( detail : : ignore_t ) >
swallow_assign : : swallow_assign ( ignore_t ( * ) ( ignore_t ) )
{
typedef detail : : swallow_assign type ;
} ;
}
template < class T >
struct is_class_or_union
template < typename T >
swallow_assign const & swallow_assign : : operator = ( const T & ) const
{
template < class U >
static char is_class_or_union_tester ( void ( U : : * ) ( void ) ) ;
} ;
return * this ;
}
} // namespace detail
template < >
struct make_tuple_traits < detail : : ignore_t ( detail : : ignore_t ) >
{
typedef detail : : swallow_assign type ;
} ;
template < class T >
struct is_class_or_union
{
template < class U >
static char is_class_or_union_tester ( void ( U : : * ) ( void ) ) ;
} ;
} // namespace boost
template < std : : size_t N , std : : size_t . . . I >
@ -1401,9 +1401,9 @@ void TemplatedFunction(T type)
@@ -1401,9 +1401,9 @@ void TemplatedFunction(T type)
}
inline namespace InlineNamespace {
void FunctionInsideInlineNamespace ( )
{
}
void FunctionInsideInlineNamespace ( )
{
}
} // namespace InlineNamespace
union
@ -1431,9 +1431,9 @@ struct TemplateWithUsingTemplateMember
@@ -1431,9 +1431,9 @@ struct TemplateWithUsingTemplateMember
} ;
namespace hasUnnamedDecl {
extern " C "
{
}
extern " C "
{
}
} // namespace hasUnnamedDecl
enum ItemsDifferByCase