Skip to content

Commit 5c936bc

Browse files
committed
chore(ModuleLifter): change SubProgram variable name
1 parent 39625b3 commit 5c936bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/IRDec/ModuleLifter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ class ModuleLifter {
4545
for (auto &func : _llvmModule->functions()) {
4646
if (!func.isDeclaration()
4747
&& func.getLinkage() == llvm::Function::ExternalLinkage) {
48-
auto DIType = func.getSubprogram();
49-
if (!DIType)
48+
auto subProgram = func.getSubprogram();
49+
if (!subProgram)
5050
continue;
51-
auto type = typeLifter.lift(DIType->getType());
51+
auto type = typeLifter.lift(subProgram->getType());
5252
if (auto funcType
5353
= llvm::dyn_cast_if_present<glu::types::FunctionTy>(type)) {
5454
auto funcDecl

0 commit comments

Comments
 (0)