File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,8 @@ class YkIRWriter {
203203
204204 // Return the index of the LLVM global `G`, inserting a new entry if
205205 // necessary.
206- size_t globalIndex (class GlobalVariable *G) {
207- vector<class GlobalVariable *>::iterator Found =
206+ size_t globalIndex (GlobalVariable *G) {
207+ vector<GlobalVariable *>::iterator Found =
208208 std::find (Globals.begin (), Globals.end (), G);
209209 if (Found != Globals.end ()) {
210210 return std::distance (Globals.begin (), Found);
@@ -790,7 +790,7 @@ class YkIRWriter {
790790 }
791791 }
792792
793- void serialiseGlobal (class GlobalVariable *G) {
793+ void serialiseGlobal (GlobalVariable *G) {
794794 OutStreamer.emitInt8 (G->isThreadLocal ());
795795 serialiseString (G->getName ());
796796 }
@@ -829,7 +829,7 @@ class YkIRWriter {
829829 // num_globals:
830830 OutStreamer.emitSizeT (Globals.size ());
831831 // globals:
832- for (class GlobalVariable *&G : Globals) {
832+ for (GlobalVariable *&G : Globals) {
833833 serialiseGlobal (G);
834834 }
835835
You can’t perform that action at this time.
0 commit comments