Skip to content

Commit 76bdf3b

Browse files
committed
code formatting
1 parent aeaab7a commit 76bdf3b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

vpr/src/place/place_delay_model.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
#include "router_delay_profiling.h"
88

99
#ifndef __has_attribute
10-
#define __has_attribute(x) 0 // Compatibility with non-clang compilers.
10+
# define __has_attribute(x) 0 // Compatibility with non-clang compilers.
1111
#endif
1212

1313
#if defined(COMPILER_GCC) && defined(NDEBUG)
14-
#define ALWAYS_INLINE inline __attribute__((__always_inline__))
14+
# define ALWAYS_INLINE inline __attribute__((__always_inline__))
1515
#elif defined(COMPILER_MSVC) && defined(NDEBUG)
16-
#define ALWAYS_INLINE __forceinline
16+
# define ALWAYS_INLINE __forceinline
1717
#elif __has_attribute(always_inline)
18-
#define ALWAYS_INLINE __attribute__((always_inline)) // clang
18+
# define ALWAYS_INLINE __attribute__((always_inline)) // clang
1919
#else
20-
#define ALWAYS_INLINE inline
20+
# define ALWAYS_INLINE inline
2121
#endif
2222

2323
//Abstract interface to a placement delay model
@@ -114,9 +114,9 @@ class OverrideDelayModel : public PlaceDelayModel {
114114
//Proper inlining of the function reduces place time by around 5%.
115115
//For more information: https://github.com/verilog-to-routing/vtr-verilog-to-routing/issues/1225
116116
friend ALWAYS_INLINE bool operator<(const t_override& lhs, const t_override& rhs) {
117-
const short *left = reinterpret_cast<const short*> (&lhs);
118-
const short *right = reinterpret_cast<const short*> (&rhs);
119-
return std::lexicographical_compare(left, left+6, right, right+6);
117+
const short* left = reinterpret_cast<const short*>(&lhs);
118+
const short* right = reinterpret_cast<const short*>(&rhs);
119+
return std::lexicographical_compare(left, left + 6, right, right + 6);
120120
}
121121
};
122122

0 commit comments

Comments
 (0)