Skip to content

Commit 450e7ca

Browse files
committed
Correct the case on variable name.
1 parent e5cfb7d commit 450e7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6508,8 +6508,8 @@ static Function *createOutlinedFunction(
65086508

65096509
// If there's a DISubprogram associated with current function, then
65106510
// generate one for the outlined function.
6511-
if (Function *parentFunc = BB->getParent()) {
6512-
if (DISubprogram *SP = parentFunc->getSubprogram()) {
6511+
if (Function *ParentFunc = BB->getParent()) {
6512+
if (DISubprogram *SP = ParentFunc->getSubprogram()) {
65136513
DICompileUnit *CU = SP->getUnit();
65146514
DIBuilder DB(*M, true, CU);
65156515
DebugLoc DL = Builder.getCurrentDebugLocation();

0 commit comments

Comments
 (0)