Skip to content

Commit d74c73f

Browse files
authored
[Clang][CodeGen] Remove extraneous dot prefixes [NFC] (#119275)
1 parent 274637d commit d74c73f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ llvm::Value *CodeGenFunction::GetCountedByFieldExprGEP(
11721172
Indices.push_back(Builder.getInt32(0));
11731173
return Builder.CreateInBoundsGEP(
11741174
ConvertType(QualType(RD->getTypeForDecl(), 0)), Res,
1175-
RecIndicesTy(llvm::reverse(Indices)), "..counted_by.gep");
1175+
RecIndicesTy(llvm::reverse(Indices)), "counted_by.gep");
11761176
}
11771177

11781178
/// This method is typically called in contexts where we can't generate
@@ -1187,7 +1187,7 @@ llvm::Value *CodeGenFunction::EmitLoadOfCountedByField(
11871187
const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) {
11881188
if (llvm::Value *GEP = GetCountedByFieldExprGEP(Base, FAMDecl, CountDecl))
11891189
return Builder.CreateAlignedLoad(ConvertType(CountDecl->getType()), GEP,
1190-
getIntAlign(), "..counted_by.load");
1190+
getIntAlign(), "counted_by.load");
11911191
return nullptr;
11921192
}
11931193

0 commit comments

Comments
 (0)