Skip to content

Commit 2071c03

Browse files
committed
Remove redundant class hints.
1 parent d05dcc2 commit 2071c03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/YkIR/YkIRWriter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)