Skip to content

Commit c1980ce

Browse files
committed
tree-wide: Unify formatting of __cplusplus ifdefs
1 parent 5f19e34 commit c1980ce

File tree

143 files changed

+958
-395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+958
-395
lines changed

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -65,8 +67,10 @@
6567
#define portENABLE_INTERRUPTS() __asm volatile ( " cpsie i " ::: "memory" )
6668
/*-----------------------------------------------------------*/
6769

70+
/* *INDENT-OFF* */
6871
#ifdef __cplusplus
6972
}
7073
#endif
74+
/* *INDENT-ON* */
7175

7276
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -65,8 +67,10 @@
6567
#define portENABLE_INTERRUPTS() __asm volatile ( " cpsie i " ::: "memory" )
6668
/*-----------------------------------------------------------*/
6769

70+
/* *INDENT-OFF* */
6871
#ifdef __cplusplus
6972
}
7073
#endif
74+
/* *INDENT-ON* */
7175

7276
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -60,8 +62,10 @@
6062
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 )
6163
/*-----------------------------------------------------------*/
6264

65+
/* *INDENT-OFF* */
6366
#ifdef __cplusplus
6467
}
6568
#endif
69+
/* *INDENT-ON* */
6670

6771
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -60,8 +62,10 @@
6062
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 )
6163
/*-----------------------------------------------------------*/
6264

65+
/* *INDENT-OFF* */
6366
#ifdef __cplusplus
6467
}
6568
#endif
69+
/* *INDENT-ON* */
6670

6771
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM35P/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -60,8 +62,10 @@
6062
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 )
6163
/*-----------------------------------------------------------*/
6264

65+
/* *INDENT-OFF* */
6366
#ifdef __cplusplus
6467
}
6568
#endif
69+
/* *INDENT-ON* */
6670

6771
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM55/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -65,8 +67,10 @@
6567
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 )
6668
/*-----------------------------------------------------------*/
6769

70+
/* *INDENT-OFF* */
6871
#ifdef __cplusplus
6972
}
7073
#endif
74+
/* *INDENT-ON* */
7175

7276
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM85/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -65,8 +67,10 @@
6567
#define portENABLE_INTERRUPTS() vClearInterruptMask( 0 )
6668
/*-----------------------------------------------------------*/
6769

70+
/* *INDENT-OFF* */
6871
#ifdef __cplusplus
6972
}
7073
#endif
74+
/* *INDENT-ON* */
7175

7276
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/IAR/ARM_CM23/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -71,8 +73,10 @@
7173
#pragma diag_suppress=Pa082
7274
/*-----------------------------------------------------------*/
7375

76+
/* *INDENT-OFF* */
7477
#ifdef __cplusplus
7578
}
7679
#endif
80+
/* *INDENT-ON* */
7781

7882
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/IAR/ARM_CM23_NTZ/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -71,8 +73,10 @@
7173
#pragma diag_suppress=Pa082
7274
/*-----------------------------------------------------------*/
7375

76+
/* *INDENT-OFF* */
7477
#ifdef __cplusplus
7578
}
7679
#endif
80+
/* *INDENT-ON* */
7781

7882
#endif /* PORTMACRO_H */

portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portmacro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
#ifndef PORTMACRO_H
3030
#define PORTMACRO_H
3131

32+
/* *INDENT-OFF* */
3233
#ifdef __cplusplus
3334
extern "C" {
3435
#endif
36+
/* *INDENT-ON* */
3537

3638
#include "portmacrocommon.h"
3739

@@ -71,8 +73,10 @@
7173
#pragma diag_suppress=Pa082
7274
/*-----------------------------------------------------------*/
7375

76+
/* *INDENT-OFF* */
7477
#ifdef __cplusplus
7578
}
7679
#endif
80+
/* *INDENT-ON* */
7781

7882
#endif /* PORTMACRO_H */

0 commit comments

Comments
 (0)