Skip to content

Commit b1147fa

Browse files
fsfodvgvassilev
authored andcommitted
Fix formatting
1 parent 0119a94 commit b1147fa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/include/llvm/Support/Registry.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace llvm {
107107

108108
// begin is not defined here in order to avoid usage of an undefined static
109109
// data member, instead it's instantiated by LLVM_INSTANTIATE_REGISTRY.
110-
static iterator begin() { return iterator(Head); }
110+
static iterator begin() { return iterator(Head); }
111111
static iterator end() { return iterator(nullptr); }
112112

113113
static iterator_range<iterator> entries() {
@@ -137,20 +137,20 @@ namespace llvm {
137137
};
138138
};
139139

140-
template<typename T> typename Registry<T>::node *Registry<T>::Head = nullptr;
141-
template<typename T> typename Registry<T>::node *Registry<T>::Tail = nullptr;
140+
template <typename T> typename Registry<T>::node *Registry<T>::Head = nullptr;
141+
template <typename T> typename Registry<T>::node *Registry<T>::Tail = nullptr;
142142
} // end namespace llvm
143143

144144
#ifdef _WIN32
145145
/// Instantiate a registry class.
146-
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS) \
147-
namespace llvm { \
148-
template class LLVM_ABI_EXPORT Registry<REGISTRY_CLASS::type>;\
146+
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS) \
147+
namespace llvm { \
148+
template class LLVM_ABI_EXPORT Registry<REGISTRY_CLASS::type>; \
149149
}
150150
#else
151-
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS) \
152-
namespace llvm { \
153-
template class Registry<REGISTRY_CLASS>;\
151+
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS) \
152+
namespace llvm { \
153+
template class Registry<REGISTRY_CLASS>; \
154154
}
155155
#endif
156156

0 commit comments

Comments
 (0)