@@ -66,7 +66,7 @@ class MachineModuleInfoImpl {
66
66
protected:
67
67
// / Return the entries from a DenseMap in a deterministic sorted orer.
68
68
// / Clears the map.
69
- static SymbolListTy getSortedStubs (DenseMap<MCSymbol *, StubValueTy> &);
69
+ static SymbolListTy getSortedStubs (DenseMap<MCSymbol*, StubValueTy>&);
70
70
71
71
// / Return the entries from a DenseMap in a deterministic sorted orer.
72
72
// / Clears the map.
@@ -100,7 +100,7 @@ class MachineModuleInfo {
100
100
MachineModuleInfoImpl *ObjFileMMI;
101
101
102
102
// / Maps IR Functions to their corresponding MachineFunctions.
103
- DenseMap<const Function *, std::unique_ptr<MachineFunction>> MachineFunctions;
103
+ DenseMap<const Function*, std::unique_ptr<MachineFunction>> MachineFunctions;
104
104
// / Next unique number available for a MachineFunction.
105
105
unsigned NextFnNum = 0 ;
106
106
const Function *LastRequest = nullptr ; // /< Used for shortcut/cache.
@@ -153,14 +153,16 @@ class MachineModuleInfo {
153
153
154
154
// / Keep track of various per-module pieces of information for backends
155
155
// / that would like to do so.
156
- template <typename Ty> Ty &getObjFileInfo () {
156
+ template <typename Ty>
157
+ Ty &getObjFileInfo () {
157
158
if (ObjFileMMI == nullptr )
158
159
ObjFileMMI = new Ty (*this );
159
- return *static_cast <Ty *>(ObjFileMMI);
160
+ return *static_cast <Ty*>(ObjFileMMI);
160
161
}
161
162
162
- template <typename Ty> const Ty &getObjFileInfo () const {
163
- return const_cast <MachineModuleInfo *>(this )->getObjFileInfo <Ty>();
163
+ template <typename Ty>
164
+ const Ty &getObjFileInfo () const {
165
+ return const_cast <MachineModuleInfo*>(this )->getObjFileInfo <Ty>();
164
166
}
165
167
166
168
// / \}
0 commit comments