summaryrefslogtreecommitdiff
path: root/bridges/inc
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:49:31 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-13 15:11:21 +0100
commit79368f81028a05f1d3685f0052806d3f93cd2da8 (patch)
tree962d815bc8d0078761a091b3bf146373a28d6cb1 /bridges/inc
parent6da61d5fa731fc34dc27607b6dc02b91928e4a54 (diff)
tdf#123936 Formatting files in module bridges with clang-format
Change-Id: Ice8b5ff4ddde1b0eca19cf29c418e3281389926d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105648 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'bridges/inc')
-rw-r--r--bridges/inc/types.hxx11
-rw-r--r--bridges/inc/vtables.hxx18
2 files changed, 13 insertions, 16 deletions
diff --git a/bridges/inc/types.hxx b/bridges/inc/types.hxx
index d35529342672..597d55909d09 100644
--- a/bridges/inc/types.hxx
+++ b/bridges/inc/types.hxx
@@ -22,8 +22,8 @@
#include <typelib/typeclass.h>
#include <typelib/typedescription.h>
-namespace bridges::cpp_uno::shared {
-
+namespace bridges::cpp_uno::shared
+{
/**
* Determines whether a type is a "simple" type (VOID, BOOLEAN, BYTE, SHORT,
* UNSIGNED SHORT, LONG, UNSIGNED LONG, HYPER, UNSIGNED HYPER, FLOAT, DOUBLE,
@@ -42,7 +42,7 @@ bool isSimpleType(typelib_TypeClass typeClass);
* @param type a non-null pointer to a type description reference
* @return true if the given type is "simple"
*/
-bool isSimpleType(typelib_TypeDescriptionReference const * type);
+bool isSimpleType(typelib_TypeDescriptionReference const* type);
/**
* Determines whether a type is a "simple" type (VOID, BOOLEAN, BYTE, SHORT,
@@ -52,7 +52,7 @@ bool isSimpleType(typelib_TypeDescriptionReference const * type);
* @param type a non-null pointer to a type description
* @return true if the given type is "simple"
*/
-bool isSimpleType(typelib_TypeDescription const * type);
+bool isSimpleType(typelib_TypeDescription const* type);
/**
* Determines whether a type relates to an interface type (is itself an
@@ -61,8 +61,7 @@ bool isSimpleType(typelib_TypeDescription const * type);
* @param type a non-null pointer to a type description
* @return true if the given type relates to an interface type
*/
-bool relatesToInterfaceType(typelib_TypeDescription const * type);
-
+bool relatesToInterfaceType(typelib_TypeDescription const* type);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bridges/inc/vtables.hxx b/bridges/inc/vtables.hxx
index 2dc604f0a64f..57ee58f53a85 100644
--- a/bridges/inc/vtables.hxx
+++ b/bridges/inc/vtables.hxx
@@ -22,8 +22,8 @@
#include <sal/types.h>
#include <typelib/typedescription.h>
-namespace bridges::cpp_uno::shared {
-
+namespace bridges::cpp_uno::shared
+{
/**
* Calculate the number of local functions of an interface type.
*
@@ -37,7 +37,7 @@ namespace bridges::cpp_uno::shared {
* executed
* @return the number of local functions of the given interface type
*/
-sal_Int32 getLocalFunctions(typelib_InterfaceTypeDescription const * type);
+sal_Int32 getLocalFunctions(typelib_InterfaceTypeDescription const* type);
/**
* Calculate the number of primary functions of an interface type.
@@ -51,12 +51,13 @@ sal_Int32 getLocalFunctions(typelib_InterfaceTypeDescription const * type);
* @return the number of primary functions of the given interface type, or zero
* if the given interface type is null
*/
-sal_Int32 getPrimaryFunctions(typelib_InterfaceTypeDescription * type);
+sal_Int32 getPrimaryFunctions(typelib_InterfaceTypeDescription* type);
/**
* Represents a vtable slot of a C++ class.
*/
-struct VtableSlot {
+struct VtableSlot
+{
/**
* The offset of the vtable.
*
@@ -82,8 +83,7 @@ struct VtableSlot {
* description
* @return the vtable slot associated with the given interface member
*/
-VtableSlot getVtableSlot(
- typelib_InterfaceAttributeTypeDescription const * ifcMember);
+VtableSlot getVtableSlot(typelib_InterfaceAttributeTypeDescription const* ifcMember);
/**
* Calculates the vtable slot associated with an interface method member.
@@ -91,9 +91,7 @@ VtableSlot getVtableSlot(
* @param ifcMember a non-null pointer to an interface method member description
* @return the vtable slot associated with the given interface member
*/
-VtableSlot getVtableSlot(
- typelib_InterfaceMethodTypeDescription const * ifcMember);
-
+VtableSlot getVtableSlot(typelib_InterfaceMethodTypeDescription const* ifcMember);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */